Dmitry Soshnikov (2014-10-01T19:07:59.000Z)
forbes at lindesay.co.uk (2016-02-01T12:27:47.368Z)
> I expect there will be substantial additions to > Map and Set in ES7 (as long as the work is done, of course). Hm, sounds like two copy-pasting algorithms from the same `Array#map`, `Array#filter`, or just tweaking the `Map#forEach` (I might be missing something). > This doesn't work because Maps allow objects as keys. Yes, I said it myself above. That's the thing -- I'd like to thing about some special syntax maybe. Don't know yet, probably map as a construct for declarative cases like: ```js // Declarative Map { [foo]: 1, bar: 2, } // Imperative (via constructor) new Map([ // brrr.. [foo, 1], ['bar', 2] ]) ```