The keys function returns all the top-level keys of the given object as an array. It does not return the keys of nested objects.
The values function returns the top-level values of the given object as an array. It does not return the values of nested objects.