@KrulestwoHK@bunjavascript It gets filtered out so in the client side there's never a header called Set-Cookie inside the Headers object, but that doesn't change the fact that the method exists and does exactly advertised, which is to show a list of Set-Cookie values (of which there's none)
@sebastienlorber@michael_timbs People keep forcing very un-JavaScript patterns onto JavaScript and they are really vocal about: "All my functions return Result<T, E>" "All my functions are wrapped in a class" "All my functions are curried"
Long-standing parser error, only fixed in TS 4.8: https://t.co/zyM289z2c1
Should have been fixed since forever ago, but...
Can't wait to use this in production!
@sebastienlorber JS can be "broken" too, as long as breakage is low. Unfortunately it usually isn't the case for any non-esoteric use case. They've investigated this change long enough, so it's probably proven safe.
Also broken JS makes the site unusable while broken CSS just makes it uglier.
I might have decided to not post here but this is big enough to let y'all know: The Temporal docs are now live on @MozDevNet!
Find me on ๐ฆ known by my website btw
@souporserious@WebSavi Wondering what's confusing about MDN?
What we have is:
> Async methods [โฆ] are forbidden from being called constructor.
Which seems clear that it's a syntax requirement. Happy to add this example to MDN with the caveat that it doesn't work with subclasses
@stefanjudis I wrote the MDN docs for it. To this day I can't conceive of a case that can't be replaced by awaiting the function in an async context. The message of the doc page is basically "there are already multiple ways to do it... Well here's one more ๐
I'm not sure how many my RT will reach compared to OP. But in the linked thread I said the same thing over 5 times and it bounced off the wall. I'm thankful that the replies got my point.
@NicoloRibaudo That sounds good! My hope is MDN can be part of the stage 4 checklist (even if not required), and be mentioned in the presentation requesting stage 4.
@NicoloRibaudo I searched "is:pr in:title stage 4" and found: change-array-by-copy, regexp-v-flag, symbols-as-weakmap-keys. All because SM shipped them too late. Recently I'm more actively documenting things already implemented by V8 so it gets better.
@NicoloRibaudo Stage 3 requires test262 and spec text. That's way too early for docs. Stage 4 checkboxes already include "two implementations" and that's a necessary condition for docs inclusion, so I think these two checkboxes can be completed in a concurrent manner.
@NicoloRibaudo One thing I don't like about the WHATWG process though is the doc issue is often filed too earlyโMDN only documents implemented features. So an "MDN people are aware" checkbox for stage 4 is probably the best, considering otherwise we are often only aware if FF implements it.
@NicoloRibaudo I had actually been meaning to ask, but I don't know where to :) It shouldn't be a hard requirement, but a WHATWG-like process would be helpful.
I'm happy to write, but it'd be great if one champion can be looped into the process for technical review, etc.