let arr = [...new Array(parseInt(length)).keys()]; arr = Array.from(arr, item => item+1); arr = Array.from(arr, item => item*parseInt(multiplication));