The ECMAScript 6 iteration protocol This Gist describes my understanding of the ES6 iteration protocol (shaped by discussions I had on the es-discuss mailing list). Feedback welcome, especially w.r.t. the terminology I am introducing here (singleton iterators, closable iterators, etc.). The iteration protocol (as defined in the ECMAScript specification) comprises the following iterfaces (I have om