# Object

*noun*

say it: **“OB-jekt”** **/ˈɒbdʒɛkt/**

A JavaScript value that groups related facts under names, such as a pet's name, species and age, so you can keep them together and read each one by its name.

## What is **Object** in JavaScript?

**Object** — A class instance that combines its own state with available behavior.

```javascript
const order = {
    item: "tea",
    quantity: 2
};
```

## In a sentence

- “I kept Mochi's name, species and age together in one **object** instead of three loose variables.”

Level: Apprentice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=2)

Updated: November 9, 2026

## In other subjects

- [Object in C#](https://www.ask-codey.com/glossary/object-c-sharp)
- [Object in Java](https://www.ask-codey.com/glossary/object)
- [Object in OOP](https://www.ask-codey.com/glossary/object-oop)

Source: https://www.ask-codey.com/glossary/object-javascript-2
