What is ‘this’ in JavaScript?

He was pointing to the JS logo on the image above.
So I thought for a second, and then Eureka!
Thank you god for making JavaScript misbehave, while not fulfilling people’s expectations (you know……

Similar

Casual Parsing in JavaScript

Over the last year and a half I've gotten really into writing parsers and parser-adjacent things like interpreters, transpilers, etc. I've done most of these projects in JavaScript, and I've settled into a nice little pattern that I re-use across projects... (more…)

Read more »