Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

untitled notebook

node v18.11.0
version: master
endpointsharetweet
//Simplest example of a custom iterator function myIterator(){ let a = 0; return { next: function(){return a++} } } let it = myIterator(); console.log(it.next()); console.log(it.next()); console.log(it.next());
Loading…

no comments

    sign in to comment