I want to search an array of arrays and see if there exists an array equal to a certain array I supply. I tried to use `indexOf()` but that wouldn't work. Does anyone have a good technique for this?

```
var ary = [['1','2'],['3','4'],['5','6']];
ary.indexOf(['1','2']); //I want to get 0 here, or something like -1 if it's not present

```