developpersoft
Coder
good day
please Could some to show me how to get index of the coordinate in array like this
please Could some to show me how to get index of the coordinate in array like this
JavaScript:
let arr = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
//I want to know the index of [7,8,9];
//I use arr.indexOf([7,8,9]) but the result was -1