Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get element of an array inside another array

let array=[[1,2,3],
           ["apple","mango","grapes"],
           [true true false]]
//to get apple =====  arrayName[class][subclass]
console.log(array[1][0])
 
PREVIOUS NEXT
Tagged: #element #array #array
ADD COMMENT
Topic
Name
5+3 =