I’ve got an array: I’m unable to change the structure of the array. I’m being passed an id of 45, and I want to get ‘bar’ for that object in the array. How do I do this in JavaScript or using jQuery? Answer Use the find() method: From MDN: The find() method returns the first value in the array, if