getProperties method
- Get values of all properties in specified object
and returns them as a map.
-
obj
an object to get properties from.
- Returns a map, containing the names of the object's properties and their values.
-
obj
an object to get properties from.