A syntax alternative for generators (was: Generator issue: exceptions while initializing arguments)

Jason Orendorff jason.orendorff at gmail.com
Tue Sep 11 11:48:56 PDT 2012

I'd appreciate a less contrived motivating example.  The best way to
implement this dataSnapshot() function is simply:

    function dataSnapshot(aCollection) {
        return aCollection.clone();


More information about the es-discuss mailing list