# Nested Loop

A loop inside another loop.

## What is **Nested Loop** in JavaScript?

**Nested Loop** — A loop inside another loop.

```javascript
for (const number of numbers) {
    if (number % 2 === 0) {
        continue;
    }

    firstOdd = number;
    break;
}
```

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

Updated: September 27, 2026

## In other subjects

- [Nested Loop in C#](https://www.ask-codey.com/glossary/nested-loop-c-sharp)
- [Nested Loop in Java](https://www.ask-codey.com/glossary/nested-loop-java)

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