Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Arrow function in javascript

let numbers = (x, y, z) => (x + y + z) * 2;
console.log(numbers(3, 5, 9))
//Expected output:34
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #Arrow #function #javascript
ADD COMMENT
Topic
Name
3+5 =