summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/optimize-get-iterator-6.js
blob: 059914afc151b19bddb0cf45026d2787ddd68326 (plain)
1
2
3
4
5
6
7
(() => {
  ({}).__proto__[1] = 2;
  let [x,y] = [1];

  assertEq(x, 1);
  assertEq(y, undefined);
})();