I am new to coding and im having trouble with arrays in javascript.
I want to be able to compare stuff inside an array but only if the three values match up to one of the sets of three values in the array
var array = [[1,2,3][4,5,6][3,6,7]]
if(array.indexOf([1,2,3]) === 1){
}
but when I do this it doesn't work does anyone know why?