Wat's Going On?
A quick, 5-minute video explaining the JavaScript portions of Gary Bernhardt's infamous "Wat" talk.
For bonus points (after watching the video)
When Gary gave this talk, jsc
was the go-to JavaScript REPL, and it's still
made available on off-the-shelf Macs. That said, Node has become pervasive,
and I'd argue more web developers today would jump to node
to give a talk
like this before jsc
. That said, you cannot replicate Gary's middle slide
(the second I examine) with node
:
> [] + []
''
> [] + {}
'[object Object]'
> {} + []
0
> {} + {}
'[object Object][object Object]'
What changed?
Relevant links
24th of February, 2016
More Posts