lets say we got an array and we want to get the 2-5 elements of it, is there a way we can do that like in python?
let test = ['a','b','c','d','e','f','g'];
in python we can do,
test[1:4]
and this will return us the 2nd to 5th elements does node offer a simple way to do this that way?