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