In JavaScript, it is possible to declare multiple variables like this:(在JavaScript中,可以这样声明多个变量:)
var variable1 = "Hello World!";
var variable2 = "Testing...";
var variable3 = 42;
...or like this:(...或像这样:)
var variable1 = "Hello World!",
variable2 = "Testing...",
variable3 = 42;
Is one method better/faster than the other?(一种方法比另一种方法更好/更快吗?)
ask by Steve Harrison translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…