Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
url-add-query-param
Adds a query parameter to a URL and returns a new URL
Parameter
Type
Description
self
url
The URL to modify
name
string
The name of the query parameter
value
string
The value of the query parameter
return
url
A new URL with the query parameter added