📅  最后修改于: 2022-03-11 15:01:09.352000             🧑  作者: Mango
const product = urlParams.get('product')
console.log(product);
// shirt
const color = urlParams.get('color')
console.log(color);
// blue
const newUser = urlParams.get('newuser')
console.log(newUser);
// empty string