I once heard that leaving the curly braces in one-line statements could be harmful in JavaScript. I don’t remember the reasoning anymore and a Google search did not help much.
Is there anything that makes it a good idea to surround all statements within curly braces in JavaScript?
I am asking, because everyone seems to do so.