Jon1337228's picture
|
download
raw
1.9 kB

call-bound Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robust call-bound JavaScript intrinsics, using call-bind and get-intrinsic.

Getting started

npm install --save call-bound

Usage/Examples

const assert = require('assert');
const callBound = require('call-bound');

const slice = callBound('Array.prototype.slice');

delete Function.prototype.call;
delete Function.prototype.bind;
delete Array.prototype.slice;

assert.deepEqual(slice([1, 2, 3, 4], 1, -1), [2, 3]);

Tests

Clone the repo, npm install, and run npm test

Xet Storage Details

Size:
1.9 kB
·
Xet hash:
28583550c3593fe6a3ab84338492a56773e0df89fe5b2c3eb1e673d9ba761635

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.