Find a value in an array of objects in Javascript [duplicate]

PHOTO EMBED

Fri Dec 02 2022 08:50:04 GMT+0000 (Coordinated Universal Time)

Saved by @Abhi1 #javascript

let arr = [
    { name: "string 1", value: "this", other: "that" },
    { name: "string 2", value: "this", other: "that" },
  ];

  console.log("arr: ", arr);
content_copyCOPY

https://stackoverflow.com/questions/12462318/find-a-value-in-an-array-of-objects-in-javascript