4 ms·
A lot of developers don't like declaring more than one variable on one line, that's a style choice. There's nothing wrong with it, especially in JS where accid
by mattmanser 15y ago
A lot of developers don't like declaring more than one variable on one line, that's a style choice.
There's nothing wrong with it, especially in JS where accidentally deleting a variable declaration can suddenly turn your variable global.
The problem with the code is more that the code stinks, even after you remove the formatting problems, it looks more like .Net code and it doesn't make any sense.