DEV Community

Discussion on: You don't know spread operator !

parsyvalentin profile image
Valentin PARSY Author

Exactly, I wanted to keep this simple for people not knowing anything about this subject (like me 2 weeks ago =D )
But from there you can go absolutely nuts ! The sky is the limit ! You can actually declare the iteration protocol inside a class, then all your "instances" are iterables.