0

For clairifying you can add a string to a variable then add other variables as such;
var one = "test", super,apple,pear,cardboard
The string "test" will be assigned to the variable one as well; super, apple, pear, cardboard will also be created variables ?

2
Contributors
3
Replies
15
Views
4 Months
Discussion Span
Last Post by Siberian
0

Personally, I declare variables individually each on their own line - clarity over brevity. You can always minimize and gzip the production version anyhow.

0

diafol - When you say undefined you mean you must define them later, gotcha :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.