8 lines
174 B
Mojo
8 lines
174 B
Mojo
# probe: what happens when a List is indexed past its end at run time?
|
|
def main():
|
|
var l = [1, 2, 3]
|
|
var i = 3
|
|
print("before")
|
|
print(l[i])
|
|
print("after")
|