Dler Ari
1 min readJun 9, 2018

--

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.

--

--

Dler Ari
Dler Ari

Written by Dler Ari

Software Engineer sharing interesting tech topics

No responses yet