views:

58

answers:

1

Possible Duplicates:
Do you recommend using semicolons after every statement in JavaScript?
Why use semicolon?

What are the ups and downs of using semicolons to end commands in JavaSript? What are the arguments for and against doing so?

+1  A: 

You definitely need use semicolons to end commands in js. It is considered as a good programming habit. Statements without semicolons would be difficult to read and sometimes behavior wired.

xiao