Status: New
Owner: ----
New issue 1497 by [email protected]: Typed Array function constructors
should expose `call` and `apply` methods.
http://code.google.com/p/v8/issues/detail?id=1497
Typed Array constructors are functions but do not expose call and/or apply
methods. These properties are exposed by all callable objects we know about
but not here:
typeof Float32Array -> 'function'
Float32Array.call({}) -> BOOM.
I see many use cases for using call and apply on typed arrays, for example
being able to subclass Float32Array to create a super fast Vector3 class.
This behavior works just fine in Firefox 4+.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev