Back to Content

Shim

files/en-us/glossary/shim/index.md

latest358 B
Original Source

A shim is a piece of code used to correct the behavior of code that already exists, usually by adding new API that works around the problem. This differs from a {{Glossary("polyfill")}}, which implements a new API that is not supported by the stock browser as shipped.

See also