Object.entries:To get the keys and values in an array

PHOTO EMBED

Fri Sep 16 2022 14:09:06 GMT+0000 (Coordinated Universal Time)

Saved by @sreejithbs

const entries = Object.entries(copyPerson)
console.log(entries)
content_copyCOPY

https://github.com/Asabeneh/30-Days-Of-JavaScript/blob/master/08_Day_Objects/08_day_objects.md