As a developer, while setting up a new project, we want our code to be clean, readable, and maintainable. To achieve this, we can use tools like...
In this article, we will be discussing javascript objects. We will see : What are javascript objects Different ways of creating them Different...
Recently in an interview, I was asked a question about multiple classes assigned to the same div in CSS. Let's see this in detail. Many classes can...
In this article, we will see Promises. Promises in javascript are the same as promises in real-life ie result-oriented conditions. According to MDN...
In this article, we will learn about closures According to MDN docs, A closure is the combination of a function bundled together (enclosed) with...
In this article, we will see scope, scope chain and lexical environment. Let us first see a script and try to guess its output function...