Working through the Ruby koans and came up with a question.

With:
  array = [:peanut, :butter, :and, :jelly]

Then this yeilds true:
  assert_equal [], array[4,0]

But so does this:
  assert_equal nil, array[5,0]

Why is [4,0] and empty array and [5,0] nil?

Leam
-- 
Mind on a Mission