@kingjs/func.return-this
A function that returns this.
Usage
Return this like this:
var returnThis = require('@kingjs/func.return-this');
returnThis.call('Hello World!');result:
'Hello World!'API
declare function returnThis(
this: any
): anyParameters
this: Any value.Returns
Returnsthis.Remarks
Ifthisis a primitive value, thenreturnThiswill return a boxed version of the primitive value.Install
With npm installed, run$ npm install @kingjs/func.return-thisLicense
MIT