title: How to do skip and take functions in javascript for Json array
body: <p>I want to do that in javascript:</p>
  
  <pre><code>     for (int i = 0; i &lt;= pieces; i++)
        {
         List&lt;product&gt; piecesProuducts = productList.Skip(i * 2).Take(2).ToList();
        }
  </code></pre>
  
  <p>I have a json array. I want to get two records block from this json array as above linq code in javascript. Is that possible and how?</p>