What is a Polyfill?
A polyfill, or polyfiller, is a piece of code (or plugin) that provides the technology that you, the developer, expect the browser to provide natively. Flattening the API landscape if you will. Alex Sexton also classifies polyfilling as a form of Regressive Enhancement. I think that sums it up nicely. Paul also defines it as: A shim that mimics a future API providing fallback functionality to older browsers.
沒有留言:
張貼留言