SearchParams.set() should give an example of setting a current value #37594
Labels
Content:WebAPI
Web API docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/set
What specific section or headline is this issue about?
Examples
What information was incorrect, unhelpful, or incomplete?
The .set() method has a somewhat unhelpful and redundant example.
What did you expect to see?
The example given in this section is no different than, and more appropriate for, the .append() method. .set() should give an example of setting an existing value.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
Obviously this isn't a glaring issue, but is I think below the typical high standard you have for the rest of the site.
MDN metadata
Page report details
en-us/web/api/urlsearchparams/set
The text was updated successfully, but these errors were encountered: