reference types in javascript

Understanding Primitives and Reference Types in JavaScript

Hey guys 👋🏻, In this article, let us cover the topic of Understanding Primitives and Reference Types in JavaScript. Primitive value is stored directly in the location that the variable accesses. And the Reference values are objects that are stored in the heap. Reference value stored in the variable location is a pointer to a location…