diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/testBug465483.js')
-rw-r--r-- | js/src/jit-test/tests/basic/testBug465483.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testBug465483.js b/js/src/jit-test/tests/basic/testBug465483.js new file mode 100644 index 000000000..a2b3da635 --- /dev/null +++ b/js/src/jit-test/tests/basic/testBug465483.js @@ -0,0 +1,7 @@ +function testBug465483() { + var a = new Array(4); + var c = 0; + for each (i in [4, 'a', 'b', (void 0)]) a[c++] = '' + (i + i); + return a.join(','); +} +assertEq(testBug465483(), '8,aa,bb,NaN'); |