- "Additionally, an empty array is returned when the starting index for an element range is at the end of the array." Can someone explain why Array#[] is designed like this? http://www.ruby-doc.org/core-2.1.1/array.html#method-i-5b-5d 14 comments ruby
Linking pages
Would you like to stay up to date with Ruby? Checkout Ruby
Weekly.