I know all of the below versions work, and I've see them all in the wild to varying degrees. Just wondering if there is one fairly standard idiomatic way among these (are there any references to support this)?
Version (1):
var x = 1;
var y = 2;
var z = 3;
Version (2):
var x = 1,
y = 2,
z = 3;
Version (3):
var x = 1, y = 2, z = 3;
varstatement (version 2). Crockford advocates for it.