Sunday, 11 June 2017

How to defined data in array to show with javascript?

I have data in array

var dataArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ... , 998, 999, 1000];

if i want to select data to show 10 times in each time I want to show 100 data in arrays

First time show output

1, 2, 3, 4, 5, 6, 7, 8, 9, 10 , ..., 100

Second time show output

101, 102, 103, 104, 105 , ..., 200

.

.

.

tenth time show output

901, 902, 903, 904, 905, ..., 1000

Which function can help me or other way can help me (Node Js)?



via Aidento

No comments:

Post a Comment