summaryrefslogtreecommitdiff
path: root/js/src/tests/non262/expressions/optional-chain-super-elem.js
blob: 3b912a9adad4bd463bcf2003c197d3e399cfde7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Don't assert.

var obj = {
  m() {
    super[0]?.a
  }
};

obj.m();

if (typeof reportCompare === "function")
  reportCompare(true, true);