JSFiddle - React, Tailwind, and code Playground

by Eduard Dyckman

JavaScript

let acc = 0;
out: {
	for(const i = 0; i < 3; i++) {
  	for (const j = 0; j < 3; j++) { 
    	acc++;
      if (i === 2) {
      	break out;
      }
    }
  }
}

alert(acc);