Primitive VS Non-Primitive Data types and their memory allocation in JS
Primitive data types
Primitive data types in JS include String, Numbers, Boolean, Undefined, Null, & Symbol.
It is predefined.
The value of these data types are stored in Stack
Primitive data types are immutable, i.e., they cannot be changed in p...
akashcodes.hashnode.dev2 min read