Abhishek Rautsweabhishek.hashnode.dev·17 hours agoLocal Storage in JavaScript: Why Do We Need JSON.stringify()? 🤔In the world of client-side storage, localStorage is like the superhero of web development. It lets you store data directly in the browser, so even if the user closes the browser or refreshes the page, the data stays safe. 🙌 But, here's the catch—lo...Discusslocalstorage
gayatri kumargeekee.hashnode.dev·17 hours agoJavaScript in the Real World: Node and Beyond!Welcome aboard your very own space station, powered by the versatile Node.js engine. But just like any space station, you need supplies to function. That's where npm (Node Package Manager) comes in—it’s the supply ship that delivers the tools and pac...Discuss·10 likesWeb Developmentjs
gayatri kumargeekee.hashnode.dev·Nov 19, 2024Unlocking the Vault: Mastering Encapsulation in JavaScript!Imagine you have a vault where you keep all your valuable belongings. Only you have the key to open it, and nobody can see or access its contents unless you allow it. In JavaScript, encapsulation works in a similar way—it’s a technique that allows yo...Saanvi Kumar and 1 other are discussing this2 people are discussing thisDiscuss·30 likesWeb Developmentencapsulation
DG9222forBasic Javascriptbasic-js-dg.hashnode.dev·Nov 20, 2024ES6 ClassBefore we start learn ES6 why we need ES6 class in Javascript. So let’s find it: Before ES6, JavaScript had no concept of classes. It’s use functions, for example: function Person(name) { this.name = name; } Person.prototype.getName = function (...DiscussOdoo OwlJavaScript
gayatri kumargeekee.hashnode.dev·Nov 18, 2024Shape Shifters: Understanding Polymorphism in JavaScript!Imagine a world where beings can take on multiple forms, like a shape shifter that can change its appearance but still retain its core identity. In JavaScript, polymorphism allows objects to behave similarly—taking on different forms (methods) while ...Saanvi Kumar and 1 other are discussing this2 people are discussing thisDiscuss·30 likesWeb Developmentjs
gayatri kumargeekee.hashnode.dev·Nov 17, 2024Inheritance in JavaScript: Extending Your Classes!Imagine your family tree. You inherit traits from your parents, like your last name or eye color, and you may pass those traits down to your children. In JavaScript, inheritance works the same way: a parent class passes down properties and methods to...Saanvi Kumar and 1 other are discussing this2 people are discussing thisDiscuss·30 likesWeb Developmentinheritance
Shefalidevshefali.hashnode.dev·Nov 18, 2024Type Coercion in JavaScript ExplainedIn JavaScript, variables don’t require a specific type declaration and can hold values of any data type. As a loosely typed language, JavaScript automatically converts values from one type to another behind the scenes to ensure your code runs smoothl...DiscussWeb Development
gayatri kumargeekee.hashnode.dev·Nov 16, 2024Classes and Objects: Building a JavaScript Universe!Picture yourself as the creator of a universe. Every planet you make has its own unique characteristics, like its size, color, and the speed at which it orbits its star. In the world of JavaScript, we can build and organize these planets using classe...Saanvi Kumar and 1 other are discussing this2 people are discussing thisDiscuss·30 likesWeb Developmentjs
gayatri kumargeekee.hashnode.dev·Nov 15, 2024The Call Stack Chronicles: Understanding JavaScript Execution!Think of the call stack in JavaScript as a stack of storybooks. Each function in your code is like a new chapter of the story. When a function starts running, it's like opening a new chapter. But you can only read one chapter at a time. Once you fini...Saanvi Kumar and 1 other are discussing this2 people are discussing thisDiscuss·30 likesWeb Developmentjs
Abhishek Shuklaabshukla.hashnode.dev·Nov 15, 2024Implement Array.prototype.flat()In this blog we’ll implement one of the tricky JS Array prototype functions which is the flat function Practice Link: https://bigfrontend.dev/problem/implement-Array-prototype.flat MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Referenc...DiscussKnowing JSJavaScript