DEFINITION OF OBJECT
DEFINITION OF OBJECT In JavaScript, objects are important. If you understand objects, you understand JavaScript. In this language, almost "everything" is an object. Booleans can be objects (if defined with the new keyword) Numbers can be objects (if defined with the new keyword) Strings can be objects (if defined with the new keyword) Dates are always objects Math is an object Regular expressions are always objects Arrays are always objects Functions are always objects Objects are always objects All JavaScript values, except primitive values, are objects. PRIMITIVE VALUES A primitive value is a value that has no properties [...]