Arrow functions have lexical this
, no dynamic this
bound at definition time, use =>
can NOT bind a different context
arguments
does NOT work inside arrow functions
Required Knowledge
Related Katas
function API
function.length
(as introduced in ES1)function.bind()
function.length
(with ES5 features)function.length
(with ES6 features)function.name
Arrow functions
- basics
- function binding
Async Function
Difficulty Level
BEGINNER
First Published
20 March 2015
Stats
3 tests to solve