login/node_modules/function-bind
2023-12-01 11:10:44 +08:00
..
test release v1.5.1 2023-12-01 11:10:44 +08:00
.editorconfig release v1.5.1 2023-12-01 11:10:44 +08:00
.eslintrc release v1.5.1 2023-12-01 11:10:44 +08:00
.jscs.json release v1.5.1 2023-12-01 11:10:44 +08:00
.npmignore release v1.5.1 2023-12-01 11:10:44 +08:00
.travis.yml release v1.5.1 2023-12-01 11:10:44 +08:00
implementation.js release v1.5.1 2023-12-01 11:10:44 +08:00
index.js release v1.5.1 2023-12-01 11:10:44 +08:00
LICENSE release v1.5.1 2023-12-01 11:10:44 +08:00
package.json release v1.5.1 2023-12-01 11:10:44 +08:00
README.md release v1.5.1 2023-12-01 11:10:44 +08:00

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