diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/basic/bug1733899.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug1733899.js b/js/src/jit-test/tests/basic/bug1733899.js new file mode 100644 index 0000000000..4d829be655 --- /dev/null +++ b/js/src/jit-test/tests/basic/bug1733899.js @@ -0,0 +1,14 @@ +a = {} +a[Symbol.iterator] = function() { + return { + next() { + return { + done: this + } + } + } +} +function b([[]] = a) {} +try { + b(); +} catch {} |