mirror of
https://github.com/nodejs/node.git
synced 2025-05-13 05:38:36 +00:00
![]() PR-URL: https://github.com/nodejs/node/pull/30533 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@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