(array)
| 498 | } |
| 499 | |
| 500 | function _flattenRectangular (array) { |
| 501 | if (Array.isArray(array[0])) { |
| 502 | for (let i = 0; i < array.length; i++) { |
| 503 | _flattenRectangular(array[i]) |
| 504 | } |
| 505 | } else { |
| 506 | for (let i = 0; i < array.length; i++) { |
| 507 | flat.push(array[i]) |
| 508 | } |
| 509 | } |
| 510 | } |
| 511 | } |
| 512 | |
| 513 | /** |
no outgoing calls
no test coverage detected
searching dependent graphs…