mirror of https://github.com/tc39/test262.git
Replace arrow function with regular function in harness/sta.js
This commit is contained in:
parent
2f0193d4cf
commit
d52a5bbbe8
|
@ -18,7 +18,7 @@ Test262Error.prototype.toString = function () {
|
||||||
return "Test262Error: " + this.message;
|
return "Test262Error: " + this.message;
|
||||||
};
|
};
|
||||||
|
|
||||||
Test262Error.thrower = (message) => {
|
Test262Error.thrower = function (message) {
|
||||||
throw new Test262Error(message);
|
throw new Test262Error(message);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue