title: get all elements after a certain index in javascript
body: <p>in python doing this would be as simple as:</p>
  
  <pre><code>mylist = ['red','blue','green','yellow']
  print(mylist[1:])
  'blue','green','yellow'
  </code></pre>
  
  <p>when i tried this in JavaScript mylist[0] returned 'red' etc. but when i tried doing something like mylist[1:] in JavaScript it was not correct syntax. what is a good method of doing this in JavaScript? basically get all elements after a specified index. and to be specific, i am doing this in node.js but i do not think that matters much. </p>
  
  <p>to clarify
  directly out of python what i would like.</p>
  
  <pre><code>&gt;&gt;&gt; mylist = ['red','green','blue','yello']
  &gt;&gt;&gt; print(mylist[1:])
  ['green', 'blue', 'yello']
  &gt;&gt;&gt; 
  </code></pre>