Function keyWithMaxVal

Returns the key in the given object which holds the largest numeric value.

If the object is empty, returns undefined.