Object-Oriented Programming (OOP) in JavaScriptObject-Oriented Programming is a programming style where code is organized using objects and classes.In JavaScript, OOP helps developers build modular, reusable, and maintainable code. The four main p3 min read·letsexploreoopsinjs.hashnode.devMar 29
Understanding Event Phases in JavaScript: Capturing, Target, and BubblingHandling events is a fundamental part of building interactive web applications. Whenever a user clicks a button, submits a form, or presses a key, the browser generates an event. But what many develop5 min read·eventphases.hashnode.devMar 27
Understanding HTMLCollection and NodeList in JavaScript 1. HTMLCollection An HTMLCollection is a collection of HTML elements. How to get HTMLCollection document.getElementsByClassName("item"); document.getElementsByTagName("li"); document.getElementById("l2 min read·htmlcollectionvsnodelist.hashnode.devMar 18
Node.js Internals – Summary1. Single Thread and Event Loop JavaScript in Node.js runs on a single main thread, but Node.js can still handle many tasks at the same time using the Event Loop and asynchronous operations. The event3 min read·nodejsarchitectureknowledge.hashnode.devMar 15
JavaScript Functions: Function Declaration vs Function Expression What Are Functions? A function is a reusable block of code that performs a specific task. Instead of writing the same code multiple times, you can place it inside a function and call it whenever you4 min read·functionvsdeclaration.hashnode.devMar 15