Demystifying Prototypal inheritance in JavaScriptIntroduction We all write this code quite often when working with arrays. var arr = [1,2,3]; arr.push(50); //[1,2,3,50] But where did this .push() come from or for a matter of fact where do .map() .filter() .reduce() actually come from. As we all k...1AOct 16, 2021 · 5 min readmunish.hashnode.dev
Demystifying Promises in JavaScriptPromise is one of the most confusing concept in JavaScript. Especially for beginners and it's the case because there are plenty of moving parts to a simple Promise. To understand Promises in JavaScript you need to understand each moving part and put...Aug 20, 2021 · 5 min readmunish.hashnode.dev
What the heck does "new" operator in JS do?All of must have written this code in Javascript let person = new Person("Eren Yeager", 19); And we all know that we get a person object and voila! Now we can access properties/ methods on it. person.age //19 person.name //Eren Yeager person.transfo...1AJul 10, 2021 · 3 min readmunish.hashnode.dev