Status: New Owner: ---- New issue 3361 by [email protected]: Incorrect result of typed array assignment http://code.google.com/p/v8/issues/detail?id=3361
In a Chrome console type: var a, x; a = new Int8Array(10); x = (a[0] = null) x = (a[0] = 300) x = (a[0] = '20') x = (a[0] = 3.14) Chrome:
var a,x
undefined
a=new Int8Array(10)
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
x=(a[0] = null)
0
x=(a[0] = 300)
300
x=(a[0] = '20')
20
x = (a[0] = 3.14)
3.14 FireFox
var a,x;
undefined
a=new Int8Array(10)
Int8Array { 0=0, 1=0, 2=0, more...}
x = (a[0] = null)
null
x = (a[0] = 300)
300
x = (a[0] = '20')
"20"
x = (a[0] = 3.14)
3.14 FireFox is correct according to the ES5 11.13.1 --You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at: https://code.google.com/hosting/settings -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
