Can't you just use map.forEach((value, index, map) => { }) ?
I think IE11 still doesn't support ES6 very well, does it? I am a little
concerned with removing all support for IE browsers.
On 12/13/2016 09:47 PM, Ondrej Zizka wrote:
Could we target ES 6?
Currently we can't use certain useful things like iterators, see
https://github.com/Microsoft/TypeScript/issues/6842
and
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Obj...
Are we assuming someone running 2+ years old browsers?
If yes, someone mentioned targetting ES 6 and then Babel to solve that.
Ondra