Experimental implementation of Object.observe & JS Utility library now available

Andrea Giammarchi andrea.giammarchi at gmail.com
Fri Aug 17 07:06:25 PDT 2012

You can observe the Object.prototype same you can define setters and stuff
there ... observing it won't affect literals or new object creation since
it works with own properties.

On Fri, Aug 17, 2012 at 2:46 PM, gaz Heyes <gazheyes at gmail.com> wrote:

> On 17 August 2012 14:31, Andrea Giammarchi <andrea.giammarchi at gmail.com>wrote:
>> that object has to be created first, than parsed to Object.observe ...
>> even evaluating this:
>>  [Object.observe({"x":"stolen"}, dangerousStuff)]
>> nothing will happen since the object has been defined already
> So basically you can't observe the Object prototype it has to be a object
> literal. I think that answers my question :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120817/b6bcf01b/attachment.html>

More information about the es-discuss mailing list