how to use both timeout and break inside for loop in javascript

welcome to shbcf.ru