check all elements of array match another array code example
Example: 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])