The object "entries" function in JavaScript let's you convert an object into a two dimensional array with each array having a key as the first element, and value as the second element.
For your reference, check this out:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
๐ซ My Udemy Courses - https://www.udemy.com/user/domenic-corso/
๐จ Download my VS Code theme - https://marketplace.visualstudio.com/items?itemName=dcode.dcode-theme
๐ฆ Find me on Twitter - https://twitter.com/dcodeyt
๐ธ Support me on Patreon - https://www.patreon.com/dcode
๐ฐ Follow me on DEV Community - https://dev.to/dcodeyt
๐น Join this channel to get access to perks - https://www.youtube.com/channel/UCjX0FtIZBBVD3YoCcxnDC4g/join
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript