Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

?. js

Optional Chaining Operator ?. 

Optional chaining syntax allows you to access deeply nested object properties 
without worrying if the property exists or not. If it exists, great! If not,
undefined will be returned.
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #js
ADD COMMENT
Topic
Name
6+9 =