Optional Chaining Operator (?.) lets you access properties deep in an object. Nullish Coalescing Operator (??) is a logical operator that returns its right-hand side operand when its left-handside operand is null or undefined. There are six values in JavaScript that are considered as falsy, not just null/undefined.

2m read timeFrom javascript.plainenglish.io
Post cover image
Table of contents
Optional Chaining Operator (?.)
6 Comments

Sort: