The following code produces the same result in both options (Chrome & Firefox).
// short option
var a = b = c = d = e = 1;
console.log(a,b,c,d,e)
// long option
var a = 1, b = 1, c = 1, d = 1, e = 1;
console.log(a,b,c,d,e)
Perhaps the question for some seems obvious or silly but which of these two options is the correct one or should I use and why?