# Bracket Notation

Accessing an object property with a key expression inside square brackets.

## What is **Bracket Notation** in JavaScript?

**Bracket Notation** — Accessing an object property with a key expression inside square brackets.

```javascript
const order = { item: "tea" };
const key = "item";
const item = order[key];
```

Level: Apprentice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/apprentice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/bracket-notation
