simple-methodize-x
Methodize a prototype method. Compliant to 8 arguments.
module.exports
⇒ *
⏏
Methodize a prototype method. Compliant to 8 arguments.
Kind: Exported member
Returns: Function
- The static method.
Throws:
TypeError
If prototypeMethod is not a function.
Param | Type | Description |
---|---|---|
prototypeMethod | Function |
The prototype method. |
Example
; const push = ;const array = ;;;console; // [1, 2]