The Wat talk has been floating around for a long time:
https://www.destroyallsoftware.com/talks/wat
There are probably lots of articles explaining exactly what's going on in this video, but I'll add this to the mix, since JavaScript typecasting is actually a lot simpler than most people think.
To understand typecasting in JavaScript, you actually only need to know three rules: