Created
February 12, 2018 17:53
-
-
Save dragonza/e278c2f1797ddbdcb905590af6d15140 to your computer and use it in GitHub Desktop.
Find commonly used character
This file contains hidden or 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
return Object.keys(obj).reduce((prev, next) => obj[a] >= obj[b] ? a : b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment