Arrow functions

Beschreibung

A-Level Javascript Notiz am Arrow functions, erstellt von James Drummond am 04/09/2015.
James Drummond
Notiz von James Drummond, aktualisiert more than 1 year ago
James Drummond
Erstellt von James Drummond vor etwa 9 Jahre
3
0

Zusammenfassung der Ressource

Seite 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

Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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