rangement/node_modules/function-bind
2023-07-01 12:46:34 +02:00
..
test add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
.editorconfig add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
.eslintrc add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
.jscs.json add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
.npmignore add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
.travis.yml add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
implementation.js add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
index.js add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
LICENSE add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
package.json add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
README.md add packages and scripts in package.json 2023-07-01 12:46:34 +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