Skip to content

doc: missing data for URLSearchParams(urlSearchParams) constructor #55841

Open
@skyclouds2001

Description

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 a URLSearchParams 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.0

see mdn/browser-compat-data#24998
see mdn/browser-compat-data#24997

also reference to #55840

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions