Re: Can typed arrays be platform array objects for numeric types?

Boris Zbarsky:
> At first glance the answer seems to be no, but I just figured I'd double
> check whether this is actually the case, and if so whether it's desirable.

No, only platform array objects are platform array objects.  They have 
specific requirements on their [[Prototype]], how they respond to 
Object.prototype.toString, how they expose a length property, etc., 
whereas typed arrays have operations on them like get and set, some 
constructors, and so on.

But wouldn't it be nice if we didn't need to have these two separate 
concepts.

Received on Monday, 2 April 2012 23:40:38 UTC