Seems handy for low allocation, performance critical iterators. As long as the contract was clear, I would love something like this. On Feb 28, 2015 5:52 PM, "Mark Volkmann" <r.mark.volkm...@gmail.com> wrote:
> I know there was a discussion about this recently, but I don't recall > seeing a reason why it would be problem for a custom iterator to return the > same object over and over with different values for the value and done > properties. I tried this in some sample code using Traceur and Babel and it > works fine. What are the potential problems with doing that? > > --- > R. Mark Volkmann > Object Computing, Inc. > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss