qwqdanchun.github.io/node_modules/function-bind
qwqdanchun 1b6a0fbb18 test 2022-11-11 19:16:46 +08:00
..
test test 2022-11-11 19:16:46 +08:00
.editorconfig test 2022-11-11 19:16:46 +08:00
.eslintrc test 2022-11-11 19:16:46 +08:00
.jscs.json test 2022-11-11 19:16:46 +08:00
.npmignore test 2022-11-11 19:16:46 +08:00
.travis.yml test 2022-11-11 19:16:46 +08:00
LICENSE test 2022-11-11 19:16:46 +08:00
README.md test 2022-11-11 19:16:46 +08:00
implementation.js test 2022-11-11 19:16:46 +08:00
index.js test 2022-11-11 19:16:46 +08:00
package.json test 2022-11-11 19:16:46 +08:00

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