TIAA Interview Question

settimeout in for loop