Created
July 23, 2021 08:40
-
-
Save kitcat-dev/11bcdc914b36ceb1da7ddbaad1d0e250 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.mapEntries = (obj, callbackFn) => | |
Object.fromEntries( | |
Object.entries(obj).map(callbackFn) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment