Range to Array



examples/range/to_a.cr
numbers = (2..7).to_a
p! typeof(numbers)
p! numbers

typeof(numbers) # => Array(Int32)
numbers # => [2, 3, 4, 5, 6, 7]