npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

function-bind

1.1.1 • Public • Published

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

install

npm i function-bind

Downloadsweekly downloads

7,460,270

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability