Do you always use semicolons on your JS file?
Rules to Better JavaScript and jQuery|c7f61c73-def9-41b0-9ab4-266c8d1b1ea6
v2.0
Posted at
24/08/2015 11:08 AM by
William Yin
Rule Intro
For most of the cases, it quite rare to have problems when omitting semicolons, but there are a few scenarios where they are required to prevent syntax errors or resolve code ambiguities.
Page Content
To save yourself time and troubles, it's highly recommended that you just place them all the time. More than avoiding you to have some headaches, your code will also look a lot more consistent.
{FF37D2F9-2E58-4DC6-AED8-E0EA65BFE544}
Do you feel this rule needs an update?