Brendan Eich wrote:
function dataSnapshot(aCollection) {
  var snapshot = aCollection.clone();
  let i = 0;

let i = -1;

rather,

  return {
    next: function () {
      if (++i == snapshot.length)
        throw StopIteration;
      return snapshot[i];
    }
  };
}

or this might run a while!

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to