On Oct 28, 2014, at 3:32 PM, Brendan Eich <[email protected]> wrote:
> Jeff Walden wrote: >> On 10/27/2014 06:53 PM, Allen Wirfs-Brock wrote: >>> > The individual typed array constructors are supposed to inherit their >>> > [[CreateAction]] from %TypedArray% and use the definition provided >>> > inhttp://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-%typedarray%-intrinsic-object >>> > >>> > <http://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-%25typedarray%25-intrinsic-object> >>> > . I probably need to be more explicit about this >>> > inhttp://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-typedarray-constructors >> >> Yeah, definitely this needs to be more explicit, > > No need for "more" there :-P. > >> in light of §6.1.7.2 Object Internal Methods and Internal Slots: "Internal >> slots are not object properties and they are not inherited." > > Definitely -- we talked at the last f2f about [[CreateAction]] being copied > down unless overridden, so it was always own. Inheritance by copying, > Crockford's "Swiss inheritance”. Yrs, and for ECMAScript functions this is specified in http://people.mozilla.org/~jorendorff/es6-draft.html#sec-makeconstructor . But the build-in constructors are not necessarily implemented as ECMAScript functions, so we need to be explicit about this in there specification. It’s just sometime I missed the first time through for the typed array constructors. Allen
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

