Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

arrow func in javascript

const greet = (who) => {
  return `Hello, ${who}!`;
};

greet('Eric Cartman'); // => 'Hello, Eric Cartman!'
Source by dmitripavlutin.com #
 
PREVIOUS NEXT
Tagged: #arrow #func #javascript
ADD COMMENT
Topic
Name
4+9 =