JavaScript for loop using setTimeout to pass argument

Reply to comment

Thanks!!!