DEV Community

loading...
Cover image for Optional Chaining in JavaScript ES2020 Illustrated

Optional Chaining in JavaScript ES2020 Illustrated

Richard Burd
Generalist with experience in software development, hardware design, technical documentation, logistics and building construction.
・1 min read

Optional Chaining is one of the more popular features in the ECMAScript 2020 standard.  Here's an illustration on how it works:

NOTE: the full-resolution version is available here.
an image of optional chaining

This image above will be the cornerstone in the next edition of my cheat sheet series, but for now it can be filed away in you personal zettelkasten (for quick reference) if it may be of use later on.

Discussion (0)