Closed raq929 closed 7 years ago
I'm not sure what you mean by "in two different ways". The array iteration methods take an argument to set the value of this
for the callback. How it's being used here seems like a pattern to me.
@rts make sure you take a look at 014/master
. I pushed some code just recently that I think makes this example a little less confusing.
This (haha) example uses
this
in two different ways, and is therefore confusing to beginners.