Last active
February 20, 2020 15:30
-
-
Save matthewstokeley/e8d7d8561a13a246bc0cd09a884c157e to your computer and use it in GitHub Desktop.
Symbol keys
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
// immutable, unique symbols are used for keys. | |
let key = new Symbol("md5") | |
const hashTable = { | |
[key] : {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
first?