JavaScript mendapatkan objek di mana
myArray = [{'id':'73','foo':'bar'},{'id':'45','foo':'bar'}, etc.]
myArray.find(x => x.id === '45').foo;
Ham-Solo
myArray = [{'id':'73','foo':'bar'},{'id':'45','foo':'bar'}, etc.]
myArray.find(x => x.id === '45').foo;