Very cool!

Regarding the iterator state: why not use a closure instead? I find publically
accessible internal state to be terrifying, but maybe that's just me :)


https://codereview.chromium.org/16848004/diff/1/src/array-iterator.js
File src/array-iterator.js (right):

https://codereview.chromium.org/16848004/diff/1/src/array-iterator.js#newcode36
src/array-iterator.js:36: var s = $Symbol();
Is this variable used?

https://codereview.chromium.org/16848004/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to