summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/class/superPropLazyInnerFunction.js
blob: d7a441f93bb60a0a94322031be7e427182a0f16a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
testcase();
function testcase() {
    var tokenCodes  = {
      get try() {
        try {
          super.actual();
        } catch (e) {}
      }
    };
    var arr = [
        'try',
    ];
    for (var i = 0; i < arr.length; i++) {
        if (tokenCodes[arr[i]] !== i) {};
    }
}

if (typeof reportCompare === 'function')
    reportCompare(0,0,"OK");