WBE_Miniprojekt/code/node_modules/function-bind
schrom01 59bac579b4 solved Lab 2022-12-21 20:45:47 +01:00
..
test solved Lab 2022-12-21 20:45:47 +01:00
.editorconfig solved Lab 2022-12-21 20:45:47 +01:00
.eslintrc solved Lab 2022-12-21 20:45:47 +01:00
.jscs.json solved Lab 2022-12-21 20:45:47 +01:00
.npmignore solved Lab 2022-12-21 20:45:47 +01:00
.travis.yml solved Lab 2022-12-21 20:45:47 +01:00
LICENSE solved Lab 2022-12-21 20:45:47 +01:00
README.md solved Lab 2022-12-21 20:45:47 +01:00
implementation.js solved Lab 2022-12-21 20:45:47 +01:00
index.js solved Lab 2022-12-21 20:45:47 +01:00
package.json solved Lab 2022-12-21 20:45:47 +01: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