method
URLSearchParams.set
set(
name: string,
value: string
): void;
Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
method
Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.