Nested Loop

A loop inside another loop.

What is Nested Loop in JavaScript?

Nested Loop — A loop inside another loop.

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

    firstOdd = number;
    break;
}

Level: Apprentice · More JavaScript terms at this level

Updated

In other subjects