odin-js-fundamentals-part-5/node_modules/function-bind
NetMan 4c89a8ee8c Initial commit 2024-01-11 09:52:05 +01:00
..
test Initial commit 2024-01-11 09:52:05 +01:00
.editorconfig Initial commit 2024-01-11 09:52:05 +01:00
.eslintrc Initial commit 2024-01-11 09:52:05 +01:00
.jscs.json Initial commit 2024-01-11 09:52:05 +01:00
.npmignore Initial commit 2024-01-11 09:52:05 +01:00
.travis.yml Initial commit 2024-01-11 09:52:05 +01:00
LICENSE Initial commit 2024-01-11 09:52:05 +01:00
README.md Initial commit 2024-01-11 09:52:05 +01:00
implementation.js Initial commit 2024-01-11 09:52:05 +01:00
index.js Initial commit 2024-01-11 09:52:05 +01:00
package.json Initial commit 2024-01-11 09:52:05 +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