javascript urlserachparam [...params.values()] code example Example: generate query string from urlsearchparams URLSearchParams.toString()