Content deleted Content added
Citation bot (talk | contribs) Alter: url. URLs might have been anonymized. | Use this bot. Report bugs. | Suggested by AManWithNoPlan | #UCB_CommandLine |
grammar an > a Tag: Reverted |
||
Line 2:
{{other uses|Polyfill (disambiguation)}}
In [[software development]], a '''polyfill''' is code that implements a feature of the [[development environment]] that does not natively support the feature. Most often, it refers to a [[JavaScript]] [[Library (computing)|library]] that implements
Polyfills allow web developers to use an API regardless of whether or not it is supported by a browser, and usually with minimal overhead. Typically they first check if a browser supports an API, and use it if available, otherwise using their own implementation.<ref name="speakingjs"/><ref>"It typically checks if a browser supports an API. If it doesn’t, the polyfill installs its own implementation. That allows you to use the API in either case."</ref> Polyfills themselves use other, more supported features, and thus different polyfills may be needed for different browsers. The term is also used as a verb: ''polyfilling'' is providing a polyfill for a feature.
|