Similar to previous answers I used the following:
Array.prototype.getIemtByParam = function(paramPair) {
var key = Object.keys(paramPair)[0];
return this.find(function(item){return ((item[key] == paramPair[key]) ? true: false)});
}
usage:
myArray.getIemtByParam(
{name: 'Sasha'}
);