On 2014/06/12 14:23:46, rossberg wrote:
Actually, it's not. I only just saw that we generate invocations to
SetProperty
for computed properties, and that is already bogus for ES5. Consider:
Object.defineProperty(Object.prototype, 'x', {set: print, get: print});
{x: 6} // prints 6!
Actually, strike that. I made the stupid JS mistake of not parenthesising an
object literal 8-}. When fixed, the example actually works. Michael had to
remind that it does because even the computed properties are already
preinstalled on the boilerplate.
https://codereview.chromium.org/332443002/
--
--
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/d/optout.