xiebaomin 213d86429b updated 1 year ago
..
test 213d86429b updated 1 year ago
.editorconfig 213d86429b updated 1 year ago
.eslintrc 213d86429b updated 1 year ago
.jscs.json 213d86429b updated 1 year ago
.npmignore 213d86429b updated 1 year ago
.travis.yml 213d86429b updated 1 year ago
LICENSE 213d86429b updated 1 year ago
README.md 213d86429b updated 1 year ago
implementation.js 213d86429b updated 1 year ago
index.js 213d86429b updated 1 year ago
package.json 213d86429b updated 1 year ago

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