huh, interesting
"break" is used to exit a loop in js. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/break
didnt know that, thanks