4 ms·
They are clear when succint, and especially for setting a value. -- example: var x; if(this) x = 10; else x = 11; -- is uglier than: var x = this ? 10 :
by jariel 6y ago
They are clear when succint, and especially for setting a value.
-- example:
var x;
if(this)
x = 10;
else
x = 11;
-- is uglier than:
var x = this ? 10 : 11;
- deleted 6y ago[deleted]