Checking support...
Feature Not SupportedThis browser does not support the URLSearchParams Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
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