DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
ES6: Set Default Parameters for Your Functions
const increment = (number, value = 1) => number + value;
PREVIOUS
NEXT
Tagged:
#Set
#Default
#Parameters
#Your
#Functions
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit