- shift
Arrays shift - remove first element
examples/arrays/shift.cr
planets = ["Mercury", "Venus", "Earth", "Mars", "Jupiter"] puts planets.shift puts planets
Mercury ["Venus", "Earth", "Mars", "Jupiter"]
planets = ["Mercury", "Venus", "Earth", "Mars", "Jupiter"] puts planets.shift puts planets
Mercury ["Venus", "Earth", "Mars", "Jupiter"]