For example I have these array
total = [[0,1],[0,2]]
arr = [0,2]
apparently total
includes the arr
However total.indexOf(arr)
return -1
Is there any good way to solve this?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
For example I have these array
total = [[0,1],[0,2]]
arr = [0,2]
apparently total
includes the arr
However total.indexOf(arr)
return -1
Is there any good way to solve this?