How do I get this:

```
console.log(items.reduce(myFunction))

```

to produce the same answer as:

```
console.log(items.reduce((max, {price}) => price > max ? price : max, 0))

```

```js
let items = [
    {
      itemName: "Effective Programming Habits",
      type: "book",
      price: 13.99
    },
    {
      itemName: "Creation 3005",
      type: "computer",
      price: 299.99
    },
    {
      itemName: "Finding Your Center",
      type: "book",
      price: 15.00
    }
  ]

console.log(items.reduce((max, {price}) => price > max ? price : max, 0))

function myFunction(max, {price}){

if(price > max ){

return price

}

}

console.log(items.reduce(myFunction))
```