K
Kyung won Cheon
l = [1,2,3,4,5]
head = l[0..2]
p head # => [1,2,3]
p l # => [1,2,3,4,5]
# I want '[4,5]'
# Is that method in Array?
head = l[0..2]
p head # => [1,2,3]
p l # => [1,2,3,4,5]
# I want '[4,5]'
# Is that method in Array?