Question d’entretien chez Luxoft

What is an arrow function in javascript?

Réponse à la question d'entretien

Utilisateur anonyme

26 sept. 2017

It is a function written like this: " () => {} " . It keeps the "this" variable of the scope it is enclosed in.