标签:func class tran war while style UNC new splice
function arrTrans(num, arr) { const newArr = []; while(arr.length > 0) { newArr.push(arr.splice(0, num)); } return newArr; }
标签:func class tran war while style UNC new splice
原文地址:https://www.cnblogs.com/dengsicode/p/12863532.html