? in NaN Seconds
Learn how the question mark "?" in JavaScript provides syntactic sugar in three powerful ways. https://fireship.io/courses/javascript/
00:00 Ternary Operator
01:15 Optional Chaining
01:45 Nullish Coalescing
Ternary https://developer.mozilla.org/....en-US/docs/Web/JavaS
Optional Chaining https://github.com/tc39/proposal-optional-chaining
Nullish Coalescing https://github.com/tc39/propos....al-nullish-coalescin
#js #100SecondsOfCode
Install the quiz app 🤓
iOS https://itunes.apple.com/us/ap....p/fireship/id1462592
Android https://play.google.com/store/....apps/details?id=io.f
Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
My VS Code Theme
- Atom One Dark
- vscode-icons
- Fira Code Font