Saw something akin to the following in a js snippet:
var aaa = "eeee" + "rrrrr", bbb = "qqqqq" + "tttttt";
I'm confused, what is the advantage of doing that vs just:
var aaa = "eeee" + "rrrrr";
var bbb = "qqqqq" + "tttttt";
    The comma, in this situation, allows you to declare multiple variables without having to re-use the var keyword over and over again:
var variable1 = 'foo',
    variable2 = 'bar';
    var and not using it is? edit: apparently not :)var { foo, bar } = { foo: 0, bar: 1 } and var [foo, bar] = [0, 1].
varis doing and that there is a difference between usingvarand not using it (i.e.var aaa = "eeee" + "rrrrr"andaaa = "eeee" + "rrrrr";).varstatements. See developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/….