- From: Cameron McCormack <cam@mcc.id.au>
- Date: Thu, 26 May 2011 12:13:59 +1200
- To: David Flanagan <dflanagan@mozilla.com>, public-script-coord@w3.org
David Flanagan: > > A simpler approach would be to require an implementation to throw a > > TypeError on any attempt to set [[Extensible]] to false on an object > > that has an indexed getter. It just doesn't make sense to be able > > to freeze a live collection. Cameron McCormack: > I think that’s a fine idea; let’s do that. Object.freeze actually should be easy enough, because you would just take a snapshot of the object. Object.seal and Object.preventExtensions are the difficult cases. It’s still easier to disallow all three, however. -- Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 26 May 2011 00:14:27 UTC