Skip to content

Commit

Permalink
drop extraction a method from an object literal since it's not a rese…
Browse files Browse the repository at this point in the history
…rved word case
  • Loading branch information
zloirock committed Jun 10, 2023
1 parent a105f50 commit eb18d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core-js/full/promise/with-resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ var path = require('../../internals/path');
var Promise = path.Promise;
var promiseWithResolvers = Promise.withResolvers;

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

0 comments on commit eb18d34

Please sign in to comment.