All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.modules._promise-resolve.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
var newPromiseCapability = require('./_new-promise-capability');

module.exports = function (C, x) {
  var promiseCapability = newPromiseCapability.f(C);
  var resolve = promiseCapability.resolve;
  resolve(x);
  return promiseCapability.promise;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy