Licence
MIT
Version
1.0.0
Deps
27
Size
14 kB
Vulns
0
Weekly
70
@osjwnpm/nam-laboriosam-quibusdam 
Robustly .call.bind() a function.
Getting started
npm install --save @osjwnpm/nam-laboriosam-quibusdam
Usage/Examples
const assert = require('assert');
const callBind = require('@osjwnpm/nam-laboriosam-quibusdam');
const callBound = require('@osjwnpm/nam-laboriosam-quibusdam/callBound');
function f(a, b) {
assert.equal(this, 1);
assert.equal(a, 2);
assert.equal(b, 3);
assert.equal(arguments.length, 2);
}
const fBound = callBind(f);
const slice = callBound('Array.prototype.slice');
delete Function.prototype.call;
delete Function.prototype.bind;
fBound(1, 2, 3);
assert.deepEqual(slice([1, 2, 3, 4], 1, -1), [2, 3]);
Tests
Clone the repo, npm install, and run npm test
Keywords
environmentcollectionPromisetypedarraysperformancegradients csscmdlimitedObject.getPrototypeOfjoiextraSymbol.toStringTagarktypeentriesArray.prototype.findLastSymboli18nreuseimmerpyyamlchineseappoutputtrimLeftvalidateuuidtypesArray.prototype.flatchromewatchwaitrm -rfUint32ArrayreadablestructuredCloneYAMLpropes2018mruPushObservablestreamsarraysfastifystreams2typeofjsdomchannelFunction.prototype.namekeygetPrototypeOflibphonenumberpositivestringifierio-tsshellpropertiesArray.prototype.containssignalsrmdircss nestingpatchastexpresses7clonewordbreakmapdescriptor6to5ES2020hasOwnartprotocol-buffersless.jsESvariablesBigUint64ArrayfpbyteOffsetObject.fromEntriesframerxtermcall-boundcode pointspreserve-symlinksbindistoobjectWeakMappackage managerfunctionalinspectreact-hook-formworkerObject.entriesdatashimtrimRightes-shimsbufferfigletwebsitettyajvpropertydeepjson-schemaBigInt64Arraygraphqldeepcopyzodrgbdom-testing-libraryajaxurlskeysES6form-validationfetchzeroexit-codewindowstraversewatcherRxsideStreamsassignArrayBuffer#slicesymbolexpressioninstallererrorES3linuxshebangcodespackage.jsonmkdirpeditoremojishrinkwrapvalidatorjsonfast-deep-clone0classnamestablespinnersbabel-coreiterationloggingimmutableStyleSheetECMAScript 6envreal-timeprunetestingmovetoolsrobustdefinePropertystartsetterUint8ClampedArrayMicrosoftsymlinksrequestgetoptECMAScript 7flatMapeslintconfigdayjsdescriptorslaunchtouchiteratorbufferstslibgetOwnPropertyDescriptorjson-schema-validatorirqCSSStyleDeclarationjsdifftypedairbnbbluebirdauthxdgtermesloadingtacitidleratevalidation-0avaramdaTypeBoxfastECMAScript 3springregular expressionslrulessbundlingcopyequalitylinewrapcollection.es6debuggerdefaultschemaobjyamlstylesheetcommanderschemeObject.assigncorecallbackgroup.envStreamtypanionsyntaxerrorpipeawesomesaucehashURLSearchParamsreducerthroatTypedArraystylesES2017webcommandxhrdeep-copydotenvregular expressionArray.prototype.flatMapfullcharacterFloat64ArraylintcurriedupmetadataextendmoduleswritableexecutableprivateReactiveXinferencestarterfseventssomewordwrapflateventEmitterfast-copyRFC-6455dataviewtypedarraydragsetcss lessObservablescssweaksetiterateeslintpluginFloat32ArrayimportnpmnodehttpsauthenticationUnderscoreargparsedropsharedframeworkreducequeueMicrotaskhookformsigtermES2021ReactiveExtensionsvesttypescripthooksreact poseRxJSstringUint16Arrayes-shim APInumberhardlinksbabelsymbolsoperating-systemsigintinstallspinnermulti-packagemakefindLastIndexapollostreamanimationbundleransilengthArray.prototype.filterreact-hookscacheES2023regexObject.definePropertydatediffECMAScript 2017asciibrowserslistlockfilees2015eventDispatcherlesscssprototypetoStringTagarraybuffercoercibleeslint-pluginbootstrap lesssymlinkloggerassertarrayhandlerseslintremovenegativeWebSocketsrangeerrorassertionpromisesECMAScript 2016everysameValueZeroexitserializetimeflattenwatchingUint8ArrayreactJSONvaluescall-bindstringifyinvariantfantasy-landES2022assertswalkingshamprotobufcore-jsparseregularmkdirswgetterminallast__proto__validvariables in cssduplexeast-asian-widthindicatorfile systemharmonyfullwidthinterruptscontainshastesterparseroptionparentsdatastructureString.prototype.trimevents
