internet-programming/lab2/node_modules/function-bind
2023-10-23 13:48:44 +04:00
..
test done 2023-10-23 13:48:44 +04:00
.editorconfig done 2023-10-23 13:48:44 +04:00
.eslintrc done 2023-10-23 13:48:44 +04:00
.jscs.json done 2023-10-23 13:48:44 +04:00
.npmignore done 2023-10-23 13:48:44 +04:00
.travis.yml done 2023-10-23 13:48:44 +04:00
implementation.js done 2023-10-23 13:48:44 +04:00
index.js done 2023-10-23 13:48:44 +04:00
LICENSE done 2023-10-23 13:48:44 +04:00
package.json done 2023-10-23 13:48:44 +04:00
README.md done 2023-10-23 13:48:44 +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