Arrow functions

Descrição

A-Level Javascript Notas sobre Arrow functions, criado por James Drummond em 04-09-2015.
James Drummond
Notas por James Drummond, atualizado more than 1 year ago
James Drummond
Criado por James Drummond aproximadamente 9 anos atrás
2
0

Resumo de Recurso

Página 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

Semelhante

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