Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

double question mark javascript

b = a ?? -1
_____________
if(a != null){
	b = a;
}
else{
	b = -1;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #double #question #mark #javascript
ADD COMMENT
Topic
Name
9+7 =