Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove property from query string javascript

const params = new URLSearchParams(location.search)
params.delete('key_to_delete')
console.log(params.toString())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #property #query #string #javascript
ADD COMMENT
Topic
Name
8+9 =