JavaScript has been called the world's most misunderstood programming language... but it actually makes perfect sense. Let's look at some classic JavaScript WAT and take it apart to see how it actually works.
The code snippet in the video is here:
https://gist.github.com/dylanbeattie/6f75bc83c9d617b54177adcacf891e21
Gary Bernhardt's classic talk "Wat":
https://www.destroyallsoftware.com/talks/wat
"Bug in the JavaScript":
https://www.youtube.com/watch?v=jxi0ETwDvws