FrontendDeveloper.in

JavaScript question detail

What is a polyfill

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.
Back to all JavaScript questions
Get LinkedIn Premium at Rs 399