# this

*noun*

say it: **“THIS”** **/ðɪs/**

A word that, inside a regular function, means the object the function was called on: the object before the dot.

## What is **this** in JavaScript?

**this** — A value supplied by the way a regular function is called, often referring to the receiving object.

```javascript
const order = {
    quantity: 2,
    describe() {
        return `${this.quantity} items`;
    }
};
```

## In a sentence

- “Inside the describe method, **this** is the pet before the dot, so mochi.describe() uses Mochi's name.”

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

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

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