On 11/11/11 10:05 PM, Jonas Sicking wrote: > In other words, the returned object is exactly what you'd get if you did: > > a = new Array; > a.__proto__ = [some type].prototype; > [some type].prototype.__proto__ = Array.prototype; For what it's worth, at least some JITs deoptimize |a| if you do that. We'd probably need to do something to make sure that _doesn't_ happen in this case, right? -BorisReceived on Friday, 11 November 2011 20:21:05 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT