method URLSearchParams.append
Jump to headingURLSearchParams.append(name: string,value: string,): void
Appends a specified key/value pair as a new search parameter.
let searchParams = new URLSearchParams();
searchParams.append('name', 'first');
searchParams.append('name', 'second');
Parameters Jump to heading
Jump to headingname: string
Jump to headingvalue: string
Return Type Jump to heading
void