Trying to outline curly braces at the end of the line can save you some headaches in case a semicolon is forgotten somewhere in the code.
The statement is misleading and even incorrect(the problem unrelated to forgotten semicolon).
var ret =
return ret;BAD: return //WRONG
posted @ Saturday, January 14, 2012 11:15 AM