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.
Leave a Reply