var a = [1, 2, 3]; a[0] = 99; a[0]