Internet_Programming_PIbd-2.../node_modules/function-bind
2023-12-22 12:45:04 +04:00
..
test commit 2023-12-22 12:45:04 +04:00
.editorconfig commit 2023-12-22 12:45:04 +04:00
.eslintrc commit 2023-12-22 12:45:04 +04:00
.jscs.json commit 2023-12-22 12:45:04 +04:00
.npmignore commit 2023-12-22 12:45:04 +04:00
.travis.yml commit 2023-12-22 12:45:04 +04:00
implementation.js commit 2023-12-22 12:45:04 +04:00
index.js commit 2023-12-22 12:45:04 +04:00
LICENSE commit 2023-12-22 12:45:04 +04:00
package.json commit 2023-12-22 12:45:04 +04:00
README.md commit 2023-12-22 12:45:04 +04: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