Re: [whatwg/fetch] Behavior of `Headers.set(name, null)` and `Headers.get(name)` (Issue #1792)

I think `set()` performing `delete()` would also be quite unexpected. JavaScript's `Map` indeed forces one to use `has()` or to avoid using undefined as a value, but that makes sense for a general collection type.

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

Message ID: <whatwg/fetch/issues/1792/2527123477@github.com>

Received on Monday, 9 December 2024 07:16:28 UTC