diff options
Diffstat (limited to 'js/src/jit-test/tests/arrays/bug1693328.js')
-rw-r--r-- | js/src/jit-test/tests/arrays/bug1693328.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/arrays/bug1693328.js b/js/src/jit-test/tests/arrays/bug1693328.js new file mode 100644 index 0000000000..2494dbe2b0 --- /dev/null +++ b/js/src/jit-test/tests/arrays/bug1693328.js @@ -0,0 +1,12 @@ +function bar() {} + +function foo() { + const v2 = [0,0]; + v2[16777217] = "a"; + v2.length = 2; + bar(...v2); +} + +for (var i = 0; i < 100; i++) { + foo(); +} |