📅  最后修改于: 2022-03-11 15:01:07.860000             🧑  作者: Mango
// URL w/ PARAMETERS
let origin = "https://www.google.com"
let pathname = "/search"
let query = "?q=javascript%20create%20url%20with%20parameters"
let url = origin + pathname + query
console.log(url);