PIbd-21_Zhirnova_A._E._Inte.../Laba2/node_modules/function-bind
2023-12-06 18:28:06 +03:00
..
test Lab2 2023-12-06 18:28:06 +03:00
.editorconfig Lab2 2023-12-06 18:28:06 +03:00
.eslintrc Lab2 2023-12-06 18:28:06 +03:00
.jscs.json Lab2 2023-12-06 18:28:06 +03:00
.npmignore Lab2 2023-12-06 18:28:06 +03:00
.travis.yml Lab2 2023-12-06 18:28:06 +03:00
implementation.js Lab2 2023-12-06 18:28:06 +03:00
index.js Lab2 2023-12-06 18:28:06 +03:00
LICENSE Lab2 2023-12-06 18:28:06 +03:00
package.json Lab2 2023-12-06 18:28:06 +03:00
README.md Lab2 2023-12-06 18:28:06 +03: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