[windup-dev] Let's target ES 6?

Ondrej Zizka ozizka at redhat.com
Thu Dec 22 13:33:33 EST 2016


You can't break from forEach... except an exception which is "fuj" [1].

Ondra


[1]  https://translate.google.com/#auto/en/fuj



--
Ondrej Zizka, Windup project, Brno

On 15.12.2016 18:06, Jess Sightler wrote:
> 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_Objects/Map#Iterating_Maps_with_for..of
>>
>>
>> Are we assuming someone running 2+ years old browsers?
>> If yes, someone mentioned targetting ES 6 and then Babel to solve that.
>>
>> Ondra
>>
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev



More information about the windup-dev mailing list