Skip to content

Instantly share code, notes, and snippets.

@matthewstokeley
Last active February 20, 2020 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewstokeley/e8d7d8561a13a246bc0cd09a884c157e to your computer and use it in GitHub Desktop.
Save matthewstokeley/e8d7d8561a13a246bc0cd09a884c157e to your computer and use it in GitHub Desktop.
Symbol keys
// immutable, unique symbols are used for keys.
let key = new Symbol("md5")
const hashTable = {
[key] : {}
}
@matthewstokeley
Copy link
Author

first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment