JavaScript has something like that:
let x = true ? "x" : "y"; // sets x to "x" let x = true ? "x" : "y"; // sets x to "x"x = “x” unless(true) “y”
Wouldn’t follow the usual left to right order of evaluation, but I think it’s a somewhat readable alternative.