Submit
Path:
~
/
/
usr
/
share
/
nodejs
/
sha.js
/
node_modules
/
File Content:
call-bound.js
'use strict'; var GetIntrinsic = require('get-intrinsic'); var callBindBasic = require('call-bind-apply-helpers'); /** @type {(thisArg: string, searchString: string, position?: number) => number} */ var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]); /** @type {import('.')} */ module.exports = function callBoundIntrinsic(name, allowMissing) { /* eslint no-extra-parens: 0 */ var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing)); if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { return callBindBasic(/** @type {const} */ ([intrinsic])); } return intrinsic; };
Submit
FILE
FOLDER
Name
Size
Permission
Action
@types
---
0755
call-bind-apply-helpers
---
0755
es-errors
---
0755
call-bound.js
687 bytes
0644
to-buffer.js
3105 bytes
0644
typed-array-buffer.js
591 bytes
0644
N4ST4R_ID | Naxtarrr