SyntaxFix
Write A Post
Hire A Developer
Questions
Here is a useful mnemonic for remembering the difference between for...in Loop and for...of Loop.
for...in
for...of
"index in, object of"
for...in Loop => iterates over the index in the array.
for...in Loop
for...of Loop => iterates over the object of objects.
for...of Loop