Skip to content
RED SAGSkills
medium10 pts · first answer countsjavascriptarraysloops

for...in over an array

A developer writes for (const i in prices) total += prices[i] * 1.18 and also logs typeof i. What is the problem with for...in on arrays?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions