I have this `name` object and it says that Cannot read properties of undefined (reading 'seconds'). How can I fix this?

```
  const names = [
    {
      displayName: "anna",
      date: { seconds: 1630135912, nanoseconds: 920000000 }
    }
  ];

  console.log(new Date(names.date.seconds * 1000).toDateString());

```