Re:Going Simple with JavaScript
by MatthewPhillips on Monday March 05, 2012 @12:11PM
(#3667240)
You're talking about polyfills. This is increasingly the way to do quirk-normalization. One example of the Function.prototype.bind polyfill on MDN: https://developer.mozilla.org/en/JavaScript/Reference/Global....
Nitpick: you probably mean the HTML/HTML5 DOM API, because the ECMAscript standard only regulates the language, not the host (a.k.a. browser). There are small differences in how browsers run JavaScript or what version of JavaScript they run, but those are much less painful to deal with than DOM API and other API quirks.
Then have a jQuery-like API when it's useful or improves clarity.