Shorthand for Object.fromEntries(Object.entries(obj).map(fn)) Similar to objectMap but uses Object.fromEntries to create the new object, so keys can also be changed.
Object.fromEntries(Object.entries(obj).map(fn))
Shorthand for
Object.fromEntries(Object.entries(obj).map(fn))Similar to objectMap but uses Object.fromEntries to create the new object, so keys can also be changed.