I'm wondering if JavaScript allows multiple addition-assignment operators in one statement. I know about multiple variable assignment, discussed here.
My current way of coding looks somewhat like this:
var x = someComplicatedFunction();
foo += x;
bar += x;
Is there a way to do something like this?
foo, bar += someComplicatedFunction();