2 ms·
Your last example could be aligned a little bit differently to make it easier to visually parse: var firstVar = "one"; var
by prakashk 13y ago
Your last example could be aligned a little bit differently to make it easier to visually parse:
var firstVar = "one";
var secondVar = "two";
var thirdVar = "three";
var thisVarHasAReallyLongName = "four";
var thisIsAnotherVarWithALongerName = "five";
- vinceguidry 13y agoMy solution: var firstVar = "one"; var secondVar = "two"; var thirdVar = "three"; var thisVarHasAReallyLongName = "four"; var thisIsAnotherVarWithALongerName = "five"; The different length of the variable names should be derived from the fact that the variables themselves are different. So they should be grouped separately.