I recommend we copy every time, consistent with all other arrays. If we
find later that we need to revisit, we can revisit for all arrays.
The copying of arrays is an artifact of ES5/3 --
* ES5/3 forced us to always have distinct tame-side vs. feral-side
objects because the tame-side objects must have the "___" properties and
the feral-side objects should not be polluted by them;
* ES5/3 did not allow us to create virtual properties on the feral side;
and
* Anyway, to properly virtualize an array, we'd need wildcard properties
(proxies) rather than just individual property descriptors.
https://codereview.appspot.com/12801043/
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" 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.