Tag Archives: Javascript

  • video
  • Video

WAT by Gary Bernhardt

Do you guys know what Wat means? Let’s talk about Javascript. [] + []  = “” [] + {} = [object Object] {} + [] = 0 {} + {} = NaN Array(16).join(“wat”) = watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat Array(16).join(“wat” + 1) = wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1wat1 Array(16).join(“wat” – 1) = Watch the flipping video for the punchline!

Share Button
Read more
Back to top
http://twitter-widget.com/blog/button-html/