Proxies and observable spec algorithms
rossberg at google.com
Mon Apr 16 02:15:55 PDT 2012
On 15 April 2012 00:22, David Bruant <bruant.d at gmail.com> wrote:
> Today, I came across a test on Firefox test suite . This test
> verifies that on the proxy, the traps gets called in the right order
> according to the ES5 algorithm of Array.prototype.splice.
> Seeing this test made me realize that as soon as proxy gets in the spec
> and implemented in web browsers, every single built-in function
> algorithm will be observable, so will need to be frozen while before
> proxies, they didn't need to (which allowed internal refactorings).
Yes, see also this thread:
More information about the es-discuss