ft_transcendence/pong/node_modules/function-bind
2023-05-02 19:15:50 +02:00
..
test new sadjigui 2023-05-02 19:15:50 +02:00
.editorconfig new sadjigui 2023-05-02 19:15:50 +02:00
.eslintrc new sadjigui 2023-05-02 19:15:50 +02:00
.jscs.json new sadjigui 2023-05-02 19:15:50 +02:00
.npmignore new sadjigui 2023-05-02 19:15:50 +02:00
.travis.yml new sadjigui 2023-05-02 19:15:50 +02:00
implementation.js new sadjigui 2023-05-02 19:15:50 +02:00
index.js new sadjigui 2023-05-02 19:15:50 +02:00
LICENSE new sadjigui 2023-05-02 19:15:50 +02:00
package.json new sadjigui 2023-05-02 19:15:50 +02:00
README.md new sadjigui 2023-05-02 19:15:50 +02: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