I have data as such:
[['Account 1', 122.00], ['Account 2', 342.33], ['Account 3', 103.32]]
I wish to be able to check to see if a string exists in any of the first indexes of the arrays and find it's index in the overall array. In other words:
index = find(arr, 'Account 2') // This would return 1
Does JS already have something internal that can do this?