Primitives vs Objects in Javascript
Values in JavaScript are of two types: Primitives & Objects. Yeah you read it correctly, not everything in JavaScript is an Object.
What are primitives?
The following values are primitives
* Strings: "abc"
* Numbers: 1, 2, 3.57 (All numbers…