Constnium/node_modules/function-bind
2022-06-22 19:20:40 +02:00
..
test Add Express 2022-06-22 19:20:40 +02:00
.editorconfig Add Express 2022-06-22 19:20:40 +02:00
.eslintrc Add Express 2022-06-22 19:20:40 +02:00
.jscs.json Add Express 2022-06-22 19:20:40 +02:00
.npmignore Add Express 2022-06-22 19:20:40 +02:00
.travis.yml Add Express 2022-06-22 19:20:40 +02:00
implementation.js Add Express 2022-06-22 19:20:40 +02:00
index.js Add Express 2022-06-22 19:20:40 +02:00
LICENSE Add Express 2022-06-22 19:20:40 +02:00
package.json Add Express 2022-06-22 19:20:40 +02:00
README.md Add Express 2022-06-22 19:20:40 +02: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