4 ms·
Especially because in ruby [0, nil, nil, nil, …x100, nil] is the same as [0] in terms of access. In both cases, trying to access the 100th element (e.g. [0][1
by bradchris 6mo ago
Especially because in ruby
[0, nil, nil, nil, …x100, nil] is the same as [0] in terms of access.
In both cases, trying to access the 100th element (e.g. [0][100]) will give nil.