title: In python I can write myarray[:3] to address elements of a list.Is it possible in javascript or node?
body: <p>I just don't find how to "translate" to javascript</p>
  
  <p>Using node 12.9.0.</p>
  
  <pre><code>#in python
  l = [1,2,3]
  l = l[1:] #This is tail
  l = l[:: -1] #For some reason this reverses the list
  </code></pre>