4 ms·
It gives elements one and two. That's one to three, non-inclusive. If we wanted elements one thru three, that's a different matter.
by 0815test 8y ago
It gives elements one and two. That's one to three, non-inclusive. If we wanted elements one thru three, that's a different matter.
- cronin101 8y ago[1,2,3].slice(1, 3) > [2, 3]