DEV Community

Discussion on: Not everything is an object in JavaScript

Collapse
 
pentacular profile image
pentacular
  1. Being a primitive value has nothing to do with being of type 'object'. Belonging to a type is about how things are categorized, and is essentially arbitrary.
  2. Mozilla's documentation is not the standard for Javascript (ecmascript) - it talks about mozilla's implementation.

To understand javascript you need to look at the ecmascript standard.

ecma-international.org/publication...