Executes a function on each of an objects own enumerable properties.