Skip to content

Instantly share code, notes, and snippets.

@louisremi
Created May 14, 2016 16:28
Show Gist options
  • Save louisremi/c7c7a3c4e96a11adcc4d32502644b77a to your computer and use it in GitHub Desktop.
Save louisremi/c7c7a3c4e96a11adcc4d32502644b77a to your computer and use it in GitHub Desktop.
Map example
var key = {a:1};
var value = 123456;
var map = new Map();
map.set(key, value);
map.get(key); // === 123456
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment