Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / js / src / tests / non262 / class / derivedConstructorTDZExplicitThis.js
blob4a4922d57e6d6ae6f724ae5701f1a1a46c938c1d
1 class foo extends null {
2     constructor() {
3         this;
4         assertEq(false, true);
5     }
8 for (let i = 0; i < 1100; i++)
9     assertThrownErrorContains(() => new foo(), "this");
11 if (typeof reportCompare === 'function')
12     reportCompare(0,0,"OK");