Guide: What is an Object?

What is an Object?

In simple terms, an object is anything that can be represented by a symbol. In other words, it is something.

The absence of something will in programming languages have a name, and a representative wrapper object that acts as a stand in for that nothing. JavaScript calls it, null.

null as it turns out is the top of the JS prototype chain of Object.

But we digress.

What is an object? It is a value of any type. Hence all types trace their origin back to Object. If we can figure out objects in JS, we can do it in any language. It’s a quirk of the language, being prototypal, that it would reveal OOP properties, but it does.

1 Like