It not a bug, but it's an oddity of the language. ``` ruby array_four = %w[a b c d e f g] p array_four[1,3] p array_four[-1,3] p array_four[3,3] p array_four[-3,2] p array_four[-3, -2] ["b", "c", "d"] ["g"] ["d...professeurx (Françoys Proulx)
I not sure if it's a bug. But maybe it is. ``` ruby a = 2 puts a a = "two" puts a => 2 => two ``` I was expecting it to produce an error. After all, Ruby is supposed to be a dynamically typed language. Clearly for varia...professeurx (Françoys Proulx)