mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 02:04:52 +00:00
![]() PR-URL: https://github.com/nodejs/node/pull/36487 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> 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