-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: missing data for URLSearchParams(urlSearchParams)
constructor
#55841
Comments
Hey, I see you opened this issue after the PR. There's no need to open the issue afterwards, tracking can be done in the PR, no? |
The content in the issue is not fixed by the PR. I fired this issue because when I working on #55840, I met something not sure how to do, so I fire this issue intend for some disscussions or suggestions. |
URLSearchParams
constructor accepts a URLSearchParams
object before v7.10.0URLSearchParams(urlSearchParams)
constructor
My bad! Apologies for the misunderstanding |
1 similar comment
This comment has been minimized.
This comment has been minimized.
Never mind! |
How is that a problem? |
I think the documentation need to represent these changes (and I've updated the issue's content) |
Affected URL(s)
https://nodejs.org/docs/latest/api/url.html
Description of the problem
the history info of the two features doesn't mention these changes below
URLSearchParams
constructor accepts aURLSearchParams
object since v7.5.0, though this can be include as an iterable object (but the case is that the support for an iterable object only after v7.10.0)URL.prototype.searchParams
returns an empty list when being constructed before v7.5.0see mdn/browser-compat-data#24998
see mdn/browser-compat-data#24997
also reference to #55840
The text was updated successfully, but these errors were encountered: