Primitive vs. Reference Types in JavaScript
In JavaScript, Only values have types, variables are just simple containers for those values. Using the typeof operator you can check the data type of a value.
Primitive types:
These are simple, immutable data types that are stored directly in memory...
iamsaqib.hashnode.dev3 min read