for of vs for in loop

To loop over each item of a list:

Arrays use: for...of
Objects use: for...in

Comments

Popular posts from this blog

Code Wars: String incrementer

Code Wars: Find the odd int

Udemy JS Algorithms & Data Structures Masterclass- Section 6 Exercise 8 (1st try)