mirror of
https://github.com/nodejs/node.git
synced 2025-05-14 13:45:37 +00:00
![]() PR-URL: https://github.com/nodejs/node/pull/36459 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> |
||
---|---|---|
.. | ||
test | ||
.editorconfig | ||
.jscs.json | ||
.npmignore | ||
.travis.yml | ||
implementation.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
function-bind
Implementation of function.prototype.bind
Example
I mainly do this for unit tests I run on phantomjs. PhantomJS does not have Function.prototype.bind :(
Function.prototype.bind = require("function-bind")
Installation
npm install function-bind
Contributors
- Raynos