I have the following Array's (below), and I need to print in increments the ranges of positions that are there, I mean, in position 0 of array1 is the 10 and in array2 is the 15, I need to increase in one and then start from the number that is in position 1 of the array1 example:
var miArray = [ 10, 20, 40, 65 ];
var miArray2= [15, 26, 44, 71];
this should print me:
10,11,12,13,14,15,20,21,22,23,24,25,26,40,41,42,43,44,65,66,67,68,69,70,71
I wanted to try some examples that I searched the Internet but I do not even approach it.