javascript add range to array code example
Example 1: javascript append array to end of array
const new_array = old_array.concat([value1[, value2[, ...[, valueN]]]])
Example 2: js add array items to array
var arrayA = [1, 2];
var arrayB = [3, 4];
var newArray = arrayA.concat(arrayB);