0

Array

Hi ppl, can i add ranges of numbers on an array? I mean var RANGES = ["1....3",4...7];

10th Apr 2018, 6:31 PM
Juanma De la Flor
Juanma De la Flor - avatar
2 Answers
+ 1
function rangeArr(range){ var arr = []; for(var x=0;x<range;x++){ arr.push(x); } return arr; }
10th Apr 2018, 7:01 PM
Tomer Sim
Tomer Sim - avatar
0
Ty tomer
10th Apr 2018, 9:27 PM
Juanma De la Flor
Juanma De la Flor - avatar