Soumyajeet Nayak

Soumyajeet Nayak

Understanding JavaScript Scopes: A Comprehensive Guide

Understanding JavaScript Scopes: A Comprehensive Guide JavaScript is a powerful and flexible programming language that plays a crucial role in modern web development. One of the fundamental concepts that every JavaScript developer must master is “scope.” Scope determines the accessibility…

Normal Function vs Arrow Function

Function Syntax This Reference Here because of normal function, the method attached with the object picks up this as the person object. However, if there is another normal function then it will not pick up this as the person object but rather global object…

Object Oriented Programming In JavaScript

Factory Function Factory functions in JavaScript are a way to create objects by encapsulating the object creation logic within a function. These functions act as factories that produce instances of objects with shared properties and methods. Here’s an explanation with…