del Operator
# in regular python:
del list[0]
# in Screeps via Transcrypt:
list.pop(0)# in regular python:
del list[1:3] # delete items 1 through 3, exclusive
# in Screeps via Transcrypt:
list.splice(1, 2) # delete 2 items, starting with index 1Last updated