Rick Waldron wrote:
On Sat, Sep 29, 2012 at 6:19 PM, Brendan Eich <[email protected]
<mailto:[email protected]>> wrote:
Allen Wirfs-Brock wrote:
My intention, subject to feedback here and from TC39, is to
follow the pattern I used for Map as much as possible.
However, TypedArray object are all ready implemented by all
major browsers to that may limit how we apply it to them.
Implementations differ:
javascript:alert(Object.prototype.toString.call(Uint8Array.prototype).slice(8,-1))
in Opera says "Uint8Array", while in Firefox and Safari it says
"Uint8ArrayPrototype". Chrome says "Object". I can't test IE here.
How common is that?
Which "that"?
Generally the [[Class]] (NativeBrand?) is derived via
Object.prototype.toString.call(Uint8Array).slice(8,-1)
(sans .prototype)
s/derived/disclosed/
I'm saying typed arrays from khronos are underspecified, and
implementations vary. Something to fix in ES6.
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss