Arrow functions

Description

A-Level Javascript Note on Arrow functions, created by James Drummond on 04/09/2015.
James Drummond
Note by James Drummond, updated more than 1 year ago
James Drummond
Created by James Drummond almost 9 years ago
2
0

Resource summary

Page 1

The syntax is like:[1, 2, 3].map(num => num * 2) // Which is equivalent to: [1, 2, 3].map(function (num) { return num * 2 }) // So this is just shorthand for writing a callback.Arrow functions are just for expressions:- They do not have this or arguments

Show full summary Hide full summary

Similar

Maps in ES6
James Drummond
Sets in ES6
James Drummond
Quiz - Object Oriented Javascript
arunram.krish
Examen Fundamentos Basicos de Programación
Jose Valderrama0721
Test I. Introduction to web technologies
Angel Martínez Rodriguez
JavaScript Fundamentals
Andrew Watters
Front-End Web Development
Chanthy Ngin
Javascript - Quiz - Jan 2016
arunram.krish
OpenSource Programming
Faheem Ahmed
Javascript basics
James Drummond
jQuery Basics functions and method
Victor Bini