We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Lists all keys. 🏃 📼 📦 🌔
map.keys(x); // x: a map // --> ...keys
const map = require('extra-map'); var x = new Map([['A', 1], ['B', 2]]); [...map.keys(x)]; // [ 'A', 'B' ] var x = new Map([['A', 1], ['B', 2], ['C', 3]]); [...map.keys(x)] // [ 'A', 'B', 'C' ]