node/deps/npm/node_modules/function-bind
claudiahdz a7c7c703af
deps: upgrade npm to 6.13.1
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>
2019-11-20 19:16:47 -05:00
..
test
.editorconfig
.jscs.json deps: upgrade npm to 6.13.1 2019-11-20 19:16:47 -05:00
.npmignore
.travis.yml
LICENSE deps: upgrade npm to 6.13.1 2019-11-20 19:16:47 -05:00
README.md
implementation.js
index.js
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

MIT Licenced