Setting the background 🖼
First things first, let's address the elephant in this blog 🐘
Polyfill is a piece of code that implements a feature or function which we expect the browser to run or support natively out of the box.
But unlike us, browsers aren't that smart. 😎
Or you can think of polyfill as the superpower you give to older browsers to understand modern functionalities.
So without further ado let's get started. ↙
▶ We will move first to Strings followed by Array and then Object. (not decided anything yet) 😅
Hop onto this 👉 link to discover some polyfills of few String methods.