📅  最后修改于: 2022-03-11 15:04:29.440000             🧑  作者: Mango
// Create a test URLSearchParams object
var searchParams = new URLSearchParams("key1=value1&key2=value2");
// Log the values
searchParams.forEach(function(value, key) {
console.log(value, key);
});