Javascript Object Definition
In JavaScript, almost "everything" is an object. All JavaScript values, except primitives, are objects. |
7 Types JavaScript Primitives
A primitive value is a value that has no properties or methods. 3.14 is a primitive value A primitive data type is data that has a primitive value |
Creating a JavaScript Object
Create a single object, with the keyword new. Define an object constructor, and then create objects of the constructed type. Create an object using Object.create(). |