Skip to content

gallery

My Photos

  • About
  • Blog
  • Home
  • Knowledge Base
  • AirNav..
  • Front Page
Posted on December 5, 2018 by

Arrow Functions

//ES5

var x = function(x,y){
return x*y;
}

//ES6

cost x = (x,y) => x*y;

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook

Related

CategoriesJavaScript ES6

    Post navigation

    Previous PostPrevious ES6 w3schools
    Next PostNext Arrow Functions {}

    Categories

    • airnav (1)
    • Git (1)
    • Honda Civic (1)
    • Java Spring (1)
    • JavaScript ES6 (3)
    • Music (4)
    • NextShow (1)
    • Node (1)
    • PHP (1)
    • Security+ Test Prep (1)
    • Stock Elections (1)
    • SY0-401-C1-Mastering Security Basics (1)
    • Uncategorized (13)
    • Watu Quiz (1)
      • Security+ (1)
    Proudly powered by WordPress