Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

=> meaning in javascript

"""=> meaning in javascript"""
// Traditional Function
// Create their own scope inside the function
function (a){
  return a + 100;
}

// Arrow Function 
// Do NOT create their own scope
// (Each step along the way is a valid "arrow function")

// 1. Remove the word "function" and place arrow between the argument and opening body bracket
(a) => {
  return a + 100;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #meaning #javascript
ADD COMMENT
Topic
Name
3+9 =