I see your point, but the title currently states for...of
and not for...in
. The main difference between for...of
and spread operator
is that the former iterates over iterable objects (such as array, object literals etc) while the latter is responsible for expanding the list. These two methods are not identical even if the name indicates few similarities.