Event Bubbling in JavaScript

JavaScript plays a pivotal role in building interactive and dynamic user interfaces, making it indispensable for modern web development. One concept crucial for efficient JavaScript use is Event Bubbling. In this blog post, we will jump into Event Bubbling in JavaScript, aiming to provide developers with a clear and concise understanding of the topic and… Continue reading Event Bubbling in JavaScript

Mastering Asynchronous JavaScript & Event Loop

JavaScript, with its asynchronous operations, breathes life into web applications, making them interactive, responsive and user-friendly. Today, we’re going to delve into the depths of Asynchronous JavaScript and its partner in crime, the Event Loop. Asynchronous JavaScript: Breaking It Down In JavaScript, operations are traditionally synchronous or performed one at a time in the order… Continue reading Mastering Asynchronous JavaScript & Event Loop

Inheritance And Prototype Chain in JavaScript

Introduction JavaScript has positioned itself as an integral part of web development, fueling both client-side and server-side operations. Among JavaScript’s various concepts, inheritance and the prototype chain are two critical yet often misunderstood paradigms. This blog aims to shed light on these two aspects, enabling professionals and enthusiasts alike to leverage them effectively and elevate… Continue reading Inheritance And Prototype Chain in JavaScript

Javascript – The Weird Parts

JavaScript is a powerful and versatile programming language that has been widely adopted by developers around the world. However, as with any programming language, javascript possesses certain quirks and weird parts that can cause confusion and frustration for developers. One such example is the behavior of the built-in JavaScript functions and operators when dealing with… Continue reading Javascript – The Weird Parts

Get last element of Array in Javascript

You can always do it in the fastest way. If performance is a deal breaker for you where you are writing code for million concurrent connections then arr.length -1 is your thing. But if you fancy some ES6 like I do, then read on..