Replace arrow function with regular function in harness/sta.js

This commit is contained in:
Linus Groh 2023-06-08 14:19:36 +02:00 committed by Ms2ger
parent 2f0193d4cf
commit d52a5bbbe8
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ Test262Error.prototype.toString = function () {
return "Test262Error: " + this.message;
};
Test262Error.thrower = (message) => {
Test262Error.thrower = function (message) {
throw new Test262Error(message);
};