3 ms·
Ternary operator is more compact and consistent with many other programming languages. The bigger issue was the bugs the existential operator led to. Not worth
by hharnisch 11y ago
Ternary operator is more compact and consistent with many other programming languages.
The bigger issue was the bugs the existential operator led to. Not worth it when checking for existence wasn't a problem in javascript anyways.
- tiglionabbit 11y agoWhat sort of issues were you having with the existential operator? I've honestly never had a problem with that, and I often wish I had it in other programming languages.