Skip to content

Commit eb18d34

Browse files
committed
drop extraction a method from an object literal since it's not a reserved word case
1 parent a105f50 commit eb18d34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core-js/full/promise/with-resolvers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ var path = require('../../internals/path');
88
var Promise = path.Promise;
99
var promiseWithResolvers = Promise.withResolvers;
1010

11-
module.exports = { withResolvers: function withResolvers() {
11+
module.exports = function withResolvers() {
1212
return call(promiseWithResolvers, isCallable(this) ? this : Promise);
13-
} }.withResolvers;
13+
};

0 commit comments

Comments
 (0)