Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to set default value to variable in javascript

 name = name || 'no name';
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #set #default #variable #javascript
ADD COMMENT
Topic
Name
1+8 =