JavaScript find object destructuring

const prod = [
    {
        id: 1, 
        name: "Laptop"
    }, 
    
    {
        id: 2,
        name: "Smartphone"
    }, 
    {
        id: 3, 
        name: "TV"
    }
];

function isProduct(product) {
  return product.name === 'Smartphone';
}

console.log(prod.find( ({ name }) => name === 'Smartphone' ));

//Result: 
// {id: 2, name: 'Smartphone'}