This is valid in php:
$x=$y=\'value\';
This will in esscence set both $x and $y to \'value\'.
Is this valid in javascript?
When vars have different values you can easily write:
var x = 0, y = 1, ... z = 2;