title: get specific subarray of a bigger array in node.js
body: <p>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?</p>
  <pre><code>let test = ['a','b','c','d','e','f','g'];
  </code></pre>
  <p>in python we can do,</p>
  <pre><code>test[1:4]
  </code></pre>
  <p>and this will return us the 2nd to 5th elements does node offer a simple way to do this that way?</p>