Skip to content

The sort () of the URLSearchParams object is not valid #471

Open
@wh-hujinyun

Description

@wh-hujinyun

const params = new URLSearchParams('query=abc&type=search&query=123');
params.sort();
let result = params.toString();
console.log('result: ' + params.toString());
The log result should be:query=abc&query=123&type=search;

The actual log result is as follows:result: query=abc&type=search&query=123;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions