AM Coder - JS Iterating Masterclass (Looping over Arrays, Objects, Sets and Maps)

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Hey Alex,
Useful video thanks! Question which I can't seem to find any info on - unless I'm doing something wrong it seems that you can do:
for(let key in obj) OR for(key in obj) both work so is the variable type declaration optional? Thanks!

simonattley