JavaScript

JavaScript

Follow
homeCSSBootstrapmembers
Tag

Optional chaining

#optional-chaining

More content

Read more stories on Hashnode


Articles with this tag

Using Optional Chaining for checking for existence of nested Object key

Anjanesh LekshminarayananAnjanesh Lekshminarayanan
Sep 7, 20221 min read

In PHP we can do use isset() for checking the existence of a deeply nested array's key since the beginning of time : <?php $p1 =...

Using Optional Chaining for checking for existence of nested Object key