DEV Community

Discussion on: Reimplementing JavaScript Array methods

Collapse
 
eneskaplan profile image
Enes Kaplan

This was a good read, thanks for the write up.

We use these functions daily but trying to implement them is a good exercise to gain more insight. Most of these are fairly straightforward and I think you did a great job covering them, however I think Array.entries() could use a bit more explanation. Haven't seen function*, yield and Symbol.iterator syntax before, could you maybe elaborate a bit for me?