find() returns just a single instance (this might be an object or item). If several matches exist, it returns the first match – otherwise, it returns undefined.

PHOTO EMBED

Mon Aug 15 2022 20:13:51 GMT+0000 (Coordinated Universal Time)

Saved by @EMR4HKLMN #javascript

const Bruno = users.find((person) => person.firstName === "Bruno");

console.log(Bruno);
content_copyCOPY

https://www.freecodecamp.org/news/top-javascript-concepts-to-know-before-learning-react/