Hmm, I do
$foo = $bar if $baz;
all the time in Perl (unless I want to test the inverse, in which case I use unless). Does this count as an if-expression?
Oh yeah, I guess I forgot about Perl. Then I guess JS does it because of C.
The cause of, and solution to, so many computing problems ;)
Funnily enough, the Atari 2600 BASIC had if expressions (it’s also an IDE for a machine with 4K of ROM and 128 bytes of memory—quite impressive even if the results are lackluster).