Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

arrow function no need for curly braces bc just one action

const addNums = (numOne, numTwo) => numOne + numTwo;

const sum = addNums(5, 3); // sum would be 8
Source by courses.bootcampspot.com #
 
PREVIOUS NEXT
Tagged: #arrow #function #curly #braces #bc #action
ADD COMMENT
Topic
Name
3+8 =