จากลิ้งค์ Removing duplicates in an Array of Objects in JS with Sets — DEV Community ได้มีการยกตัวอย่างการล้างค่าซ้ำภายใน Array Object ด้วยตัวอย่างดังต่อไปนี้ credit จากคุณ Natalia Tepluhina const arr = [
{ id: 1, name: "test1" },
{ id: 2, name: "test2" },
{ id: 2, name: "test3" },
{…