Re: [whatwg/webidl] Maplike/setlike iterators shouldn't use MapIteratorPrototype/etc (Issue #1142)

@tabatkins a Map is something that has a [[MapData]] slot, that i can `Object.getOwnPropertyDescriptor(Map.prototype, 'size').get.call` and receive a meaningful answer. If these qualify, then Map's IteratorPrototype makes sense.

@domenic thanks for the correction on the history of it; it seems telling that such a thing hasn't been discussed in committee, and nobody seemed to know about it, when we discussed refactoring these builtins, since at least 2014.

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

Message ID: <whatwg/webidl/issues/1142/1119099249@github.com>

Received on Thursday, 5 May 2022 22:26:42 UTC