Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js length of longest array in 2d array

Math.max(...arr.map((e) => e.length));
 
PREVIOUS NEXT
Tagged: #js #length #longest #array #array
ADD COMMENT
Topic
Name
2+5 =