Sha256: eb08644c68bd8ae3b4422be6443641d6d31c260f321ee6bca95d30ee6e43a047

Contents?: true

Size: 395 Bytes

Versions: 7

Compression:

Stored size: 395 Bytes

Contents

'use strict';
require('../../modules/es.promise');
require('../../modules/esnext.promise.try');
var isCallable = require('../../internals/is-callable');
var path = require('../../internals/path');

var Promise = path.Promise;
var promiseTry = Promise['try'];

module.exports = { 'try': function (callbackfn) {
  return promiseTry.call(isCallable(this) ? this : Promise, callbackfn);
} }['try'];

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/core-js/features/promise/try.js
disco_app-0.15.2 test/dummy/node_modules/core-js/features/promise/try.js
disco_app-0.18.4 test/dummy/node_modules/core-js/features/promise/try.js
disco_app-0.18.1 test/dummy/node_modules/core-js/features/promise/try.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/core-js/features/promise/try.js
disco_app-0.14.0 test/dummy/node_modules/core-js/features/promise/try.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/core-js/features/promise/try.js