Object.entries()

The Object.entries () method is used to rotate the array of [key,values] ​​entered as parameters. The ordering of the properties is the same as that given by looping over the property values of the object manually.

Create a website or blog at WordPress.com

Up ↑

Design a site like this with WordPress.com
Get started