We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4489fa7 commit 64e8936Copy full SHA for 64e8936
src/util/minimal.js
@@ -288,7 +288,7 @@ function newError(name) {
288
configurable: true,
289
},
290
name: {
291
- get() { return name; },
+ get: function get() { return name; },
292
set: undefined,
293
enumerable: false,
294
// configurable: false would accurately preserve the behavior of
@@ -298,7 +298,7 @@ function newError(name) {
298
299
300
toString: {
301
- value() { return this.name + ": " + this.message; },
+ value: function value() { return this.name + ": " + this.message; },
302
writable: true,
303
304
0 commit comments