Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Arrow functions in ES6

let func = (a) => {}         // parentheses optional with one parameter
let func = (a, b, c) => {} // parentheses required with multiple parameters
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Arrow #functions
ADD COMMENT
Topic
Name
5+6 =