A for...of loop processes the array ["red", "blue"]. What does its loop variable receive in order?
Explanation
For...of consumes the array's iterable values, so the variable receives red and then blue. Index strings such as 0 and 1 are associated with for...in over an array, not this value-oriented loop.