var array = [{a:"word",b:"world"},{a:"2015",b:"people"}];
var result = -1;
for(var i=0; i<array.length; i++) {
for(var key in array[i]) {
if(array[i][key] == "people") result = i;
}
if(result > -1) break;
}
document.write(result);