method URLSearchParams.appendprivateURLSearchParams.append(name: string,value: string,): voidDeprecatedAppends a specified key/value pair as a new search parameter. let searchParams = new URLSearchParams(); searchParams.append('name', 'first'); searchParams.append('name', 'second'); Parametersname: stringvalue: stringReturn Typevoid