DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+2 =
Submit