Last active
February 26, 2018 09:24
-
-
Save Ibro/b8176c3f843f792c9a2c84d9fa113f34 to your computer and use it in GitHub Desktop.
CodingBlast blog - Set, Map - https://codingblast.com/javascript-set-map/
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
let map = new Map([['name', 'CodingBlast'], ['points', 33], [true, 55], ['true', 44]]) | |
console.log(Array.from(map.keys())) | |
console.log(Array.from(map.values())) | |
console.log(Array.from(map.entries())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment