var result = [];
for (let i = 0; i < totalTimes.length; i++) {
result = result.concat(totalTimes[i]);
}
console.log('result------->',result)
var result = [];
for (let i = 0; i < totalTimes.length; i++) {
result = result.concat(totalTimes[i]);
}
console.log('result------->',result)