Iterates over the properties of an object and applies a handler function to each one, modifying the object in place with the return values.
This function is similar to Array.prototype.map, but for objects. It allows you to transform the values of an object based on a custom function.
Array.prototype.map
The type of the source object.
The object to iterate and modify.
The function to call for each key-value pair. It receives the key, the old value, and the source object. The returned value will replace the old value.
Iterates over the properties of an object and applies a handler function to each one, modifying the object in place with the return values.
This function is similar to
Array.prototype.map, but for objects. It allows you to transform the values of an object based on a custom function.