alert / js / node_modules / function-bind /
@Réz István Réz István authored on 18 Nov 2021
..
test first commit 3 years ago
.editorconfig first commit 3 years ago
.eslintrc first commit 3 years ago
.jscs.json first commit 3 years ago
.npmignore first commit 3 years ago
.travis.yml first commit 3 years ago
LICENSE first commit 3 years ago
README.md first commit 3 years ago
implementation.js first commit 3 years ago
index.js first commit 3 years ago
package.json first commit 3 years 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