object methods Flashcards
1
Q
Object.keys(the object name)
Object.keys(country)
result: list of object properties
ctrl+L
A
Object.values(the object name)
Object.entries(the object name)
Object.keys(the object name)
Object.keys(country)
result: list of object properties
ctrl+L
Object.values(the object name)
Object.entries(the object name)