That's exactly why I added We're going to ignore the this binding rules for these functions for now. in the article, perhaps I should have expanded on that a bit more. This comment here explains it very well though!
"Arrow functions differ from regular functions in some nuanced ways. To simplify the discussion we're steering clear of those differences."
Beginners tend to latch onto "just a shorter way to write a function" as "the truth" because it's so (convenient and) easy to remember - using it as a justification to use arrow functions exclusively even when it's inappropriate (e.g. as class methods).
That's exactly why I added
We're going to ignore the this binding rules for these functions for now.
in the article, perhaps I should have expanded on that a bit more. This comment here explains it very well though!Re-reading that paragraph again:
"Arrow functions differ from regular functions in some nuanced ways. To simplify the discussion we're steering clear of those differences."
Beginners tend to latch onto "just a shorter way to write a function" as "the truth" because it's so (convenient and) easy to remember - using it as a justification to use arrow functions exclusively even when it's inappropriate (e.g. as class methods).
I'll consider making some edits, thank you