3 ms·
Note: Function.prototype.bind doesn't exist in IE8 and below. There is a Polyfill at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Ob
by mike-cardwell 13y ago
Note: Function.prototype.bind doesn't exist in IE8 and below. There is a Polyfill at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... which adds it when it is missing.
- jbaudanza 13y agoAlso the es5-shim library is quite nice, and includes a bind polyfill. https://github.com/es-shims/es5-shim https://github.com/es-shims/es5-shim