Last active
February 5, 2023 03:04
-
-
Save maltezc/2e580aec0717b45eb35fb0213c3efe46 to your computer and use it in GitHub Desktop.
Javascript - Simple oneliner dictionary counter template
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
map[key] = (map[key]+1) || 1 ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment