Not TestedTesting not done, may not work properly
Networking

URLSearchParams

Utility methods to work with the query string of a URL.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

const params = new URLSearchParams('?page=1&sort=asc');
console.log(params.get('page'));

About the URLSearchParams Web API

URLSearchParams defines utility methods to work with the query string of a URL.

Specification:W3C & WHATWG Web API Standard
Sponsored Content