summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_6/Class/superPropBasicChain.js
blob: 12bf84820e6459721391cfc75d7474e96cddf0c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
var o = {
    access() {
        super.foo.bar;
    }
};

// Delazify
assertThrowsInstanceOf(o.access, TypeError);

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