Thursday, September 5, 2013

polyfill

What is a polyfill?

A polyfill is essentially code that would allow you to have some specific functionality that you expect in current or “modern” browsers to also work in other browsers that do not have the support for that functionality built in.

Why is the term polyfill used?

The term polyfill itself is meant to create an image of filling holes and cracks in a wall with some glue to allow you to paint over it. In this analogy, the browser is like the wall, and the polyfill is like the glue which allows you to treat the browser/wall just like any other browser.

Reference: http://www.programmerinterview.com/index.php/html5/html5-polyfill/

No comments:

Post a Comment