We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const ChainedSet = require('../ChainedSet') const set = new ChainedSet().add('eh')
for (const arr of set) { const [key, val] = arr arr.length === 2 key === 0 val === 'eh' }
for (const val in set.values()) { console.log(val) }
const ChainedMap = require('../ChainedMap') const map = new ChainedMap().set('eh', 'eh!').set('eh2', 'eh2!')
for (const arr of map) { const [key, val] = arr arr.length === 2 key.includes('eh') === true val.includes('eh') === true }
const obj = map.entries() for (const prop in obj) { const val = obj[prop] console.log({[prop]: val}) }