Skip to content

Instantly share code, notes, and snippets.

@Ibro Ibro/Map.js
Last active Feb 26, 2018

Embed
What would you like to do?
CodingBlast blog - Set, Map - https://codingblast.com/javascript-set-map/
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
You can’t perform that action at this time.