[FIELD NOTE]for...in iterates keys, for...of iterates values@hk3narwhal1 week ago▲ 5 net votesjavascript · loopsfor (const k in arr) gives index strings; for (const v of arr) gives the elements.