source: node_modules/core-js-pure/es/promise/with-resolvers.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 456 bytes
Line 
1'use strict';
2require('../../modules/es.promise');
3require('../../modules/es.promise.with-resolvers');
4var call = require('../../internals/function-call');
5var isCallable = require('../../internals/is-callable');
6var path = require('../../internals/path');
7
8var Promise = path.Promise;
9var promiseWithResolvers = Promise.withResolvers;
10
11module.exports = function withResolvers() {
12 return call(promiseWithResolvers, isCallable(this) ? this : Promise);
13};
Note: See TracBrowser for help on using the repository browser.