Status: New
Owner: ----
New issue 2181 by [email protected]: Typed arrays weird in d8
http://code.google.com/p/v8/issues/detail?id=2181
The typed arrays available in d8 are nothing like in the browser.
The following behaviour makes it impossible for Dart programs compiled to
JavaScript to work in d8.
Please make d8 typed arrays behave indistinguishably from Chrome typed
arrays.
V8 version 3.10.8.13 [console: dumb]
d8> var x = new Float32Array(100)
d8> x
[object Object]
d8> x.constructor.name
Object
d8> x[6]
0
d8> (new Int8Array(10)).constructor === (new Float32Array(1)).constructor
true
d8> (new Int8Array(10)) instanceof Int8Array
false
d8> (new Int8Array(10)).buffer
d8> (new Int8Array(10)).constructor.name
Object
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev