en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

Update article.md

Open mann-codes2014 opened this issue 1 year ago • 2 comments

Add let before key in for (key in object) in section https://javascript.info/object#forin

mann-codes2014 avatar Sep 14 '24 15:09 mann-codes2014

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 14 '24 15:09 CLAassistant

I dont know...

Not part of the sintax, I consider this sintax description for (key in object) { The examples below that have the strongly suggested let.

Key can even be declared lines before tthis, but maybe Im overthinking this.

joaquinelio avatar Sep 14 '24 19:09 joaquinelio