Optional Chaining in JavaScript

Опубликовано: 21 Июль 2026
на канале: whatjackhasmade
108
6

Sandbox example - https://codesandbox.io/s/optional-cha...

Can I Use information - https://caniuse.com/mdn-javascript_op...

Read more on optional chaining at - https://developer.mozilla.org/en-US/d...

In this video, I show you how to make use of "Optional Chaining" a new operator available to modern JavaScript applications.

Optional chaining allows us to reference keys if the parent value is defined, as well as reference methods on values when available (e.g. .toUpperCase).