Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Fat Arrow Functions

// function declaration
function sayHiStranger() {
  return 'Hi, stranger!'
}

// call the function
sayHiStranger()
Source by www.sitepoint.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #Fat #Arrow #Functions
ADD COMMENT
Topic
Name
5+1 =