Polyfill in JavaScript

A polyfill is a browser fallback, made in JavaScript, that allows functionality you expect to work in modern browsers to work in older browsers, e.g., to support canvas (an HTML5 feature) in older browsers.
A polyfill is a piece of code that provides the methods that the developers, expect the browser to provide natively.

Creating a polyfill for bind function

polyfill for bind method