Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nullish coalescing operator

(null || undefined) ?? "toto"; // Renvoie "toto"
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #nullish #coalescing #operator
ADD COMMENT
Topic
Name
2+6 =