TIAA interview question

settimeout in for loop