News for hackers. Stuff that matters.
Re:‘This’ in JavaScript by sheldor on Thursday August 03, 2017 @02:05AM (#14917305)
> I don't like the explanation as a set of piecewise cases

We don't like it and it's redundant. One should learn the principles and return to this article to read it as a quiz and find out whether he got it or not.

Books like the excellent Javascript Allonge (free to read on leanpub) do a great job on explaining the context. If you need more hardcore stuff, "You don't know JS" will fit you better.

(Disclaimer: I'm not affiliated with any of the recommended books or their authors or leanpub or whatever.They just helped me a lot; and still do from time to time)

There are no comments on this comment yet.