Sumit Adhikarisumit071.hashnode.dev·Nov 26, 2024Create Polyfils for array methods map,reduce,filterRewriting JavaScript: The Fun World of Polyfills for map, filter, and reduce 🌟 JavaScript's array methods like map, filter, and reduce are like the Swiss Army knives of coding. But what if they didn’t exist? Imagine coding in a world where you had t...JavaScript
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 ...Decoding 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...JavaScript
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...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...browserCompatibility
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...JavaScript
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...JavaScript
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...polyfills
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...JavaScript
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, ...JavaScript