Primitive VS Non-Primitive Data types and their memory allocation in JS
Mar 8, 2025 · 2 min read · 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...
Join discussion