break w3 code example Example: javascript break out of loop //break out of for loop for (i = 0; i < 10; i++) { if (i === 3) { break; } }