DEV Community

Discussion on: 1 line of code: How to get every even item of an Array

Collapse
 
martinkr profile image
Martin Krause

Hi Luke,

you are right filter is more intuitive, but it is actually slower for me.

Cheers!