// Returns elements. var list = ["a", "b", "c", "d"] System.print(list[0]) // expect: a System.print(list[1]) // expect: b System.print(list[2]) // expect: c System.print(list[3]) // expect: d // Allows indexing backwards from the end. System.print(list[-4]) // expect: a System.print(list[-3]) // expect: b System.print(list[-2]) // expect: c System.print(list[-1]) // expect: d