Object.prototype.get & bye bye Object.defineProperty

David Bruant bruant.d at gmail.com
Thu Nov 29 07:51:56 PST 2012

Le 29/11/2012 16:47, Nathan Wall a écrit :
> In addition, it'd be nice if there was an easier way to create an 
> object with no [[Prototype]]... some sort of addition to object 
> literal notation?
I think ES6 will have such a notation with the __proto__ de facto 

     var o = {
         __proto__: null,
         a: 1,
         b: 2

It's not mentionned in the strawman, but I think I've read it once on 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121129/741fea2a/attachment.html>

More information about the es-discuss mailing list