Post doesn't exist
Small improvement
|
|
You can put commas on the multiple 'var' lines instead of doing 'var ' on every line. For example, you could do:
var one = 1, two = 2, three = 3; instead of
var one = 1; var two = 2; var three = 3; |
|
|
Generally I prefer to put the var there for each line as it makes it more readable for me (i.e. the names of the variables line up as opposed to var for "one" lining up with "two" and "three"). Its a stylistic thing really, it doesn't matter much. |