Created
May 14, 2016 16:28
-
-
Save louisremi/c7c7a3c4e96a11adcc4d32502644b77a to your computer and use it in GitHub Desktop.
Map example
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
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