summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1733899.js
blob: 4d829be65598f7a2bb372254b481bbf646917b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
a = {}
a[Symbol.iterator] = function() {
  return {
    next() {
      return {
        done: this
      }
    }
  }
}
function b([[]] = a) {}
try {
  b();
} catch {}