Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Optional chaining

let x = foo?.bar();

if (foo?.bar?.baz) { // ... }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Optional #chaining
ADD COMMENT
Topic
Name
1+5 =