DEV Community

Discussion on: Can you solve this JavaScript problem?

Collapse
sadarshannaiynar profile image
Adarsh

I used to struggle as well but with practice you will get the hang of it. Once you start using array methods you can get lot of things with as little code as possible.