Function keyWithMinVal

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

If the object is empty, returns undefined.