mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 05:24:38 +02:00
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;
|
||||
};
|
||||
|
||||
Test262Error.thrower = (message) => {
|
||||
Test262Error.thrower = function (message) {
|
||||
throw new Test262Error(message);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user