With the URLSearchParams API, we can simply pass an object with the parameters to the class's constructor: const params = new URLSearchParams({ foo: "1" ...
確定! 回上一頁