Working with Objects

Map through keys & values of an object

const testObject = {
    foo: 1
    bar: 2
}

Object.entries(testObject).map(([key, value]) => {})

Last updated

Was this helpful?