aoc/node_modules/function-bind
alex ab688f8b38 solutions 2022-12-03 17:11:42 -05:00
..
test solutions 2022-12-03 17:11:42 -05:00
.editorconfig solutions 2022-12-03 17:11:42 -05:00
.eslintrc solutions 2022-12-03 17:11:42 -05:00
.jscs.json solutions 2022-12-03 17:11:42 -05:00
.npmignore solutions 2022-12-03 17:11:42 -05:00
.travis.yml solutions 2022-12-03 17:11:42 -05:00
LICENSE solutions 2022-12-03 17:11:42 -05:00
README.md solutions 2022-12-03 17:11:42 -05:00
implementation.js solutions 2022-12-03 17:11:42 -05:00
index.js solutions 2022-12-03 17:11:42 -05:00
package.json solutions 2022-12-03 17:11:42 -05: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