[windup-dev] JS tip: You can delete from a collection while iterating

Jess Sightler jsightle at redhat.com
Thu Dec 15 12:07:52 EST 2016


Nice, that is helpful. I had been assuming that these were limited 
similarly to Java iterators.


On 12/14/2016 04:44 AM, Ondrej Zizka wrote:
> For instance, Set:
>
> http://stackoverflow.com/questions/28306756/is-it-safe-to-delete-elements-in-a-set-while-iterating-with-for-of
>
>



More information about the windup-dev mailing list