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.

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

Updated

In other subjects