Iterating over objects and arrays: frequent errors (2017)
victoria.dev
victoria.dev
The article purporting to be somewhat language agnostic, doesn't even address 0 vs 1 for initial index, or do examples of reverse iteration, simultaneous iteration, or other really complicated iterations.
But the breakfast pictures were pretty good.
And then introduce `==` and `===`.
Yep, I usually don't like the articles with clickbaity item lists like "10 ways you are iterating wrong over an array" but somehow I would like to see that here.
... It was largely people that appeared to be from India, which played into the impression/bias that Indian schools are memorize and regurgitate. But again there is a lot of bias in that opinion.
I also thought that looping over object keys using for in, although it does work you should also be checking to see if it object has it as its own property that you declared, or is that overkill in checking keys?
There's a syntax error in the "Alter nested property values" section, but I doubt that's what the author had in mind. :-P