blob: d6b15baab32e5c2b456686bcc553875e9aea6990 [file] [log] [blame]
// Make sure it doesn't matter when we make the arrow function
new class extends class { } {
constructor() {
let arrow = () => this;
assertThrowsInstanceOf(arrow, ReferenceError);
super();
assertEq(arrow(), this);
}
}();
if (typeof reportCompare === 'function')
reportCompare(0,0,"OK");