Skip to content

Instantly share code, notes, and snippets.

@nairihar
Created June 30, 2018 16:48
Show Gist options
  • Save nairihar/3591742eaaabe49a9b9e611eaf226646 to your computer and use it in GitHub Desktop.
Save nairihar/3591742eaaabe49a9b9e611eaf226646 to your computer and use it in GitHub Desktop.
JavaScript series, part 2, Map, medium
const myMap = new Map([['key1', 'val1'], [2, 'val2'], [2, 'val3']])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment