Release Notes
delete(key: string): void
Parameter | Type | Description |
key | string | Key. |
Type | Description |
void | No data returned. |
import url from 'pts/url';export default function() {const params = new url.URLSearchParams('key1=value1&key2=value2');params.delete('key2');console.log(params.toString()); // key1=value1}
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback