var a = [1, 2]; console.log(a[0], a.length);