I think you can solve it in one line using the map function:
pos = myArray.map(function(e) { return e.hello; }).indexOf('stevie');
I think you can solve it in one line using the map function:
pos = myArray.map(function(e) { return e.hello; }).indexOf('stevie');