Hardik Dhamijahardikdhamija.hashnode.dev·Sep 4, 2024JavaScript Polyfills : An Introductory GuideWhat Are Polyfills? Polyfills are simple fallback functions used when a browser doesn’t support a specific JavaScript feature. The polyfill makes sure that your code behaves the same way across different browsers, regardless of their support for the ...DiscussDecoding Javascript PolyfillsJavaScript
Aman Chandelamanchandel.hashnode.dev·Aug 30, 2024what is map in Javascript? and it's polyfillIn Javascript, map is a higher order function available on arrays, which is used to transform each and every element of an array by applying a callback function to each element of the existing array. map does not mutate the original array; it returns...DiscussJavaScript
Bidhubhushan Gahanbidhubhushan.hashnode.dev·Jul 25, 2024Promise.all()The Promise.all() accepts an array of promises and returns a promise that resolves when all of the promises in the array are fulfilled or when the iterable contains no promises. It rejects with the reason of the first promise that rejects. The code f...Discuss·1 likeJavaScript
AARYAN BAJAJaaryan-bajaj-learnings.hashnode.dev·May 25, 2024Polyfills for Map , Filter & Reduce in JavascriptIntroduction Ever found yourself working on a project only to realise your JavaScript methods aren’t supported in older browsers? 🤔 Let's talk about how polyfills can be your rescue squad! In this blog, we'll explore What polyfills are Why the...DiscussbrowserCompatibility
Thanga Ganapathyganapathy.hashnode.dev·Apr 19, 2024Use JavaScript's New Set Composition Methods Without PolyfillsWelcome, There is a proposal to add methods like union and intersection to JavaScript's built-in Set class. It is currently at stage 3, but some browsers like chrome already supports it. As you can see the currently supported runtimes are very limite...DiscussJavaScript
Mayank Mishramynkmishra.hashnode.dev·Apr 7, 2024JavaScript Polyfills Explained: Part 1Polyfill is a piece of code (usually in JS🌍) that is used to support modern functionality in older browser versions that don’t natively support these modern functions.In other words, some older browser versions may not support these modern ES6 featu...DiscussJavaScript
surya ravikumarsuryaravikumar.hashnode.dev·Mar 14, 2024"Understanding Polyfills: Bringing Modern JavaScript Functionality to Older Browsers"<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Polyfill Example</title> <link rel="stylesheet" href="styles.css"> </head> <body> <h1> "Understandi...Discusspolyfills
Tushar Khannacodertushar.hashnode.dev·Feb 16, 2024Learn Polyfill of JS Array Map with ChatGPTArray.prototype.myMap = function(callback) { const array = []; this.forEach((item, index) => { array.push(callback(item, index, this)); }); return array; } You can this code be made optimized & is prod ready? ChatGPT The code can be opti...DiscussJavaScript
Md Talhamdtalha.hashnode.dev·Feb 2, 2024Implementing Custom Promise.all() in JavaScriptPromises in JavaScript provide a powerful way to handle asynchronous operations. One commonly used utility function is Promise.all(), which allows you to execute multiple promises concurrently and wait for all of them to complete. In this blog post, ...DiscussJavaScript
Md Talhamdtalha.hashnode.dev·Jan 24, 2024Crafting a Custom Polyfill for Array.prototype.flat() in JavaScriptJavaScript's Array.prototype.flat() method is a powerful tool for flattening nested arrays, making it easier to work with complex data structures. However, not all environments may support this method, especially in older browsers. In this blog post,...Discuss·33 readsJavaScript