I am working through a book which gives examples of Ranges being converted to equivalent arrays using their \"to_a\" methods
When i run the code in irb I get the fol
Check this:
a = [*(1..10), :top, *10.downto( 1 )]