Polyfill (programming): Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Add: title. Changed bare reference to CS1/2. | Use this bot. Report bugs. | Suggested by BrownHairedGirl | #UCB_webform 1760/3377
Removed {{Cleanup bare URLs}}. This page currently has no bare URLs which are not tagged as dead
Line 1:
{{short description|Code to implement features in web browsers that do not support them}}
{{other uses|Polyfill (disambiguation)}}
{{Cleanup bare URLs|date=August 2022}}
 
In [[web development]], a '''polyfill''' is code that implements a feature on [[web browser]]s that do not natively support the feature. Most often, it refers to a [[JavaScript]] [[Library (computing)|library]] that implements an [[HTML5]] or [[CSS]] [[web standard]], either an established standard (supported by some browsers) on older browsers, or a proposed standard (not supported by any browsers) on existing browsers. Formally, "a polyfill is a [[Shim (computing)|shim]] for a browser [[Application programming interface|API]]."<ref name="speakingjs">{{cite book|title=Speaking JavaScript |url=http://speakingjs.com/ |author=Luis Ángel Pérez Castillo |year=2019}}</ref>