Javascript coding style recommendation: in return and throw statements use only simple variables
My collegue told me that placing the opening curly brace at the end of the line is safer than at the beginning of the new line, because it prevents some hard-to-debug errors, related to Automatic Semicolon Insertion and pointed me to the article Basic JavaScript Part 6: Automatic Semicolon
Submit a review:
Login required.