Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

optional-chaining operator

if (user?.team?.subscription?.invoices) {
  //
}
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #operator
ADD COMMENT
Topic
Name
2+9 =