JS for loop with delay in each iteration using IIFE
Ever wondered how you can do each iteration of a for
loop with some delay? That means, the code block in for
loop body will be executed until the condition goes wrong, but with a delay in each iteration.