Results 1 comments of 百里登风

基于递归实现,不用 Array.concat ```typescript Array.prototype.myFlat = function (this: any[], depth: number = 1) { const myFlat = (arr: any[], flatLength = 1, resultArray = [] as any[], forEachCount = 0) =>...