Another reason why Crockford's JavaScript coding guidelines are a good idea to follow:
This code (below) actually returns undefined because of JavaScript's semicolon injection - which is a damn good reason to get the whole team of developers singing from the same song sheet:
return // injected semicolon, therefore returns 'undefined'
{
javascript : "fantastic"
}; // object constructs anonymously but nothing happens with it.
Bit more about that at Beware of JavaScript semicolon insertion