Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ES6: Set Default Parameters for Your Functions

const increment = (number, value = 1) => number + value;
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #Set #Default #Parameters #Your #Functions
ADD COMMENT
Topic
Name
8+9 =