Re: [whatwg/url] Bug in methods - entries() and forEach() (#462)

> 
> 
> Shouldn't you use `for x of y` with iterators? The first one also seems problematic as you're mutating a live collection.

Actually the second one worked as You proposed. But about first one. Is that considered a  bad practice for emptying collection?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/462#issuecomment-581877125

Received on Tuesday, 4 February 2020 12:06:28 UTC