summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/class/derivedConstructorArrowEvalGetThis.js
blob: 26f9843d2c7530644c44d62b49ebe566dabcfac7 (plain)
1
2
3
4
5
6
7
8
9
10
new class extends class { } {
    constructor() {
        super();
        assertEq(this, (()=>this)());
        assertEq(this, eval("this"));
    }
}();

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