Last active
March 31, 2024 14:08
-
-
Save pointofpresence/d0fb844306185ee2115bbc43ea6d13d6 to your computer and use it in GitHub Desktop.
JS: Получить размер самого большого вложенного массива
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get length of biggest nested array | |
const maxLength = Math.max(...sheetsArray.map(subArr => subArr.length)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment