Re: [heycam/webidl] Should iterator prototype object next functions be enumerable? (#739)

I don't have strong opinions on this either, apart from possible implementation difficulty (e.g. Gecko currently synthesizes non-exposed IDL interfaces for the iterator, and we don't have an obvious way to make stuff there non-enumerable, iirc).

Currently
```
<script>
  var i = (new URLSearchParams())[Symbol.iterator]();
  document.write(Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i), "next").enumerable);
</script>
```
shows `true` in all browsers, fwiw.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/739#issuecomment-505232280

Received on Tuesday, 25 June 2019 00:41:14 UTC