Luxoft interview question

What is an arrow function in javascript?

Interview Answer

Anonymous

26 Sept 2017

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