loading...

re: How it works - Custom spread operator [...5] VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks! could have just used a generator for Number.prototype[Symbol.iterator] Yes i agree i could have used generator then i have to explain how ...
 

Generators are still vanilla javascript. But I understand your concerns about the need to explain how generators work.

Nice one anayways! 👍

Yep. That's right! It is vanilla js but i wanted it to be simple as possible and didnt want to explain how generator works.

code of conduct - report abuse