var a = [1, 2]; var r = a[0.5];