What\'s the best method to get the index of an array which contains objects?
Imagine this scenario:
var hello = { hello: \'world\', foo: \'ba
simple:
myArray.indexOf(myArray.filter(function(item) { return item.hello == "stevie" })[0])