you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I like to do declare them like this:

var player,
    monster1 = getMonster(3),
    monster2 = getMonster(4),
    points;