object methods Flashcards

(1 cards)

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly