DEV Community

Discussion on: 'this' and arrow functions

Collapse
 
codevault profile image
Sergiu Mureşan • Edited

Nevermind, I always thought that some of the array functions like filter and some are from ES2015 which, on further investigation, turned out to be false

Although, they work nicely with the arrow functions since they all take their values not from this but from the parameter of the functions you give it.