Ruby - Operators and Expressions
Why does the Ruby range
(1...1) produce an empty array when converted with to_a?(1...1) produce an empty array when converted with to_a?(1...1)to_a fails on such ranges15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions