PC/node_modules/function-bind
2026-01-26 23:20:48 +08:00
..
test chushihua 2026-01-26 23:20:48 +08:00
.editorconfig chushihua 2026-01-26 23:20:48 +08:00
.eslintrc chushihua 2026-01-26 23:20:48 +08:00
.jscs.json chushihua 2026-01-26 23:20:48 +08:00
.npmignore chushihua 2026-01-26 23:20:48 +08:00
.travis.yml chushihua 2026-01-26 23:20:48 +08:00
implementation.js chushihua 2026-01-26 23:20:48 +08:00
index.js chushihua 2026-01-26 23:20:48 +08:00
LICENSE chushihua 2026-01-26 23:20:48 +08:00
package.json chushihua 2026-01-26 23:20:48 +08:00
README.md chushihua 2026-01-26 23:20:48 +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