Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

arrow function - one line and no parameters

let sayHi = _ => console.log(“Hi”);
Source by betterprogramming.pub #
 
PREVIOUS NEXT
Tagged: #arrow #function #line #parameters
ADD COMMENT
Topic
Name
1+3 =