JS Coding Questions Logo
JS Coding Questions
#143💼 Interview

What is a polyfill

Advertisement

728x90

A polyfill is a piece of JS code used to provide modern functionality on older browsers that do not natively support it. For example, Silverlight plugin polyfill can be used to mimic the functionality of an HTML Canvas element on Microsoft Internet Explorer 7.

There are two main polyfill libraries available,

1. Core.js: It is a modular javascript library used for cutting-edge ECMAScript features.

2. Polyfill.io: It provides polyfills that are required for browser needs.

Advertisement

Responsive Ad
🎯 Practice NowRelated Challenge

JavaScript Coding Exercise 58

Test your knowledge with this interactive coding challenge.

Start Coding

Advertisement

728x90
143of476