Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
'use strict';
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.promise.try');
var apply = require('../../internals/function-apply');
var isCallable = require('../../internals/is-callable');
var path = require('../../internals/path');
var Promise = path.Promise;
var $try = Promise['try'];
// eslint-disable-next-line no-unused-vars -- required for arity
module.exports = ({ 'try': function (callbackfn /* , ...args */) {
return apply($try, isCallable(this) ? this : Promise, arguments);
} })['try'];