- push
- append
- <<
Array push, append, <<
examples/arrays/array_push.cr
planets = ["Mars", "Jupyter", "Saturn"] # append / push / << planets << "Pluto" puts planets # ["Mars", "Jupyter", "Saturn", "Pluto"] planets.push("Venus") puts planets # ["Mars", "Jupyter", "Saturn", "Pluto", "Venus"]