? in NaN Seconds

8 Views
Published
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/JavaScript/Reference/Operators/Conditional_Operator
Optional Chaining https://github.com/tc39/proposal-optional-chaining
Nullish Coalescing https://github.com/tc39/proposal-nullish-coalescing

#js #100SecondsOfCode

Install the quiz app
Category
Fireship
Tags
webdev, app development, lesson
Be the first to comment