2 ms·
As a CoffeeScript convert the ternary operator is one of the few things I prefer about JavaScript. There are better examples of "everything is an expression",
by tlrobinson 14y ago
As a CoffeeScript convert the ternary operator is one of the few things I prefer about JavaScript.
There are better examples of "everything is an expression", like "for" loops and multi line "if then" blocks.