UNPKG

evm2term

Version:

Translates from Egg Virtual Machine (JSON) to a summarized AST term

4 lines 171 B
function logMapElements(value, key, map) { console.log(`map.get('${key}') = ${value}`) } new Map([['foo', 3], ['bar', {}], ['baz', undefined]]).forEach(logMapElements)