Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js if array is 2d

if (arr[0].constructor === Array) { /*...*/ }
 
PREVIOUS NEXT
Tagged: #js #array
ADD COMMENT
Topic
Name
4+9 =