Skip to content

Instantly share code, notes, and snippets.

@pointofpresence
Last active March 31, 2024 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pointofpresence/d0fb844306185ee2115bbc43ea6d13d6 to your computer and use it in GitHub Desktop.
Save pointofpresence/d0fb844306185ee2115bbc43ea6d13d6 to your computer and use it in GitHub Desktop.
JS: Получить размер самого большого вложенного массива
// 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