Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Nullish Coalescing

let x = foo ?? bar(); // return foo if it's not null or undefined otherwise calculate bar
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Nullish #Coalescing
ADD COMMENT
Topic
Name
7+7 =