Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including polyfill-function-prototype-bind with all npm packages installed. Try it out:

var polyfillFunctionPrototypeBind = require("polyfill-function-prototype-bind")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

polyfill-function-prototype-bind v0.0.1

Polyfill for Function.prototype.bind. (Source from developer.mozilla.org)

Function.prototype.bind polyfill

This is a polyfill for Function.prototype.bind. Useful if you are working with browsers that do not have the bind method.

Install and usage

To install:

npm install --save polyfill-function-prototype-bind

To use:

require('polyfill-function-prototype-bind');

Note: You will only need to require the package. And then you'll be able to use Function.prototype.bind.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free