Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Implicit returns in ES6

let func = (a, b, c) => a + b + c      // curly brackets must be omitted
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Implicit #returns
ADD COMMENT
Topic
Name
5+8 =