__defineGetter__ returns

Rick Waldron waldron.rick at gmail.com
Tue May 7 08:59:55 PDT 2013


On Tue, May 7, 2013 at 10:21 AM, Dean Landolt <dean at deanlandolt.com> wrote:

>
>
>
> On Tue, May 7, 2013 at 10:13 AM, Rick Waldron <waldron.rick at gmail.com>wrote:
>
>>
>> On May 7, 2013 3:49 AM, "David Bruant" <bruant.d at gmail.com> wrote:
>> >
>> > Hi,
>> >
>> > The latest rumors [1] suggest that __defineGetter__ will be in IE11.
>>
>> Of course to benefit platform compatibility, but that doesn't mean ES6
>> (or ES.any) will standardize an obsolete feature alongside its superior
>> replacement. ;)
>>
>
> So there's no need to standardize __proto__ then, eh? ;)
>
> </troll>
>

Perhaps you should actually read the existing discussion and meeting
resolutions? __define|lookup(Getter|Setter)__ have already been
standardized in the form of the superior Object.definePropert(y|ies) APIs.
When the object meta APIs were specified, there was little support for the
dunder APIs, which made it easier to kill them. Since then, __proto__
implementation has spread, which means it's _not_ easy to kill—which is why
it's being standardized. Note that TC39 isn't specifying two different
mechanisms either, ie. no setPrototypeOf.

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130507/bd228cbd/attachment.html>


More information about the es-discuss mailing list