Javascript syntax…

Javascript has that point of uncertainty that makes coding and adventure! Here is one example:

] ()
SyntaxError: syntax error
 
] {}
undefined
 
] ({})
Object {}

For more oddities like this one, I suggest the hilarious presentation WAT from Gary Bernhardt.

One Response to “Javascript syntax…”

  1. debiatan Says:

    This takes away most of my desire to try javascript… and ruby.

Leave a Reply


× eight = 8