https://tutorial.eyehunts.com/js/javascript-break-for-loop-stop-example-code/
JavaScript break for loop | Stop example code