The In-Depth Guide to Creation Patterns in JavaScript
Almost everything is an object in JavaScript. There are only six things that are not objects. They are null, undefined, string, number, boolean, and symbol. These are called primitive types or primitive values. They can hold one piece of information and are simple in nature. Anything other than these primitive...