#webdev
Read more stories on Hashnode
Articles with this tag
Today, we are going to dive deep into two fundamental concepts in JavaScript: Lexical Scoping and Closures. These concepts form the backbone of how...
In JavaScript, classes allow us to define properties and methods, but sometimes we need fine-grained control over how certain properties behave when...
In this post, we’ll dive into how the this keyword behaves when used in event listeners and how to properly bind it in JavaScript, especially with...
In JavaScript, classes provide a neat and organized way to define objects and their behaviors. However, before ES6 introduced classes, everything was...
Understanding Prototypal Behavior : When you write the following code in the browser console : const newHero = ["hulk", "spiderman"]; Pressing enter...
First of all, a question arises: are there classes in JavaScript? Historically, JavaScript did not have classes. Technically, even now, there are no...