Created
February 12, 2018 17:51
-
-
Save dragonza/4c378f8b73cecf83f3a2fe5aa6206ebf to your computer and use it in GitHub Desktop.
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
| Object.keys(obj).forEach(char => { | |
| if (obj[char] > max) { | |
| maxChar = char; | |
| max = obj[char]; | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment