source: trip-planner-front/node_modules/core-js/features/promise/try.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 348 bytes
Line 
1'use strict';
2require('../../modules/es.promise');
3require('../../modules/esnext.promise.try');
4var path = require('../../internals/path');
5
6var Promise = path.Promise;
7var promiseTry = Promise['try'];
8
9module.exports = { 'try': function (callbackfn) {
10 return promiseTry.call(typeof this === 'function' ? this : Promise, callbackfn);
11} }['try'];
Note: See TracBrowser for help on using the repository browser.