//ex) http://127.0.0.1?name=ddu&age=99

 

new URLSearchParams(location.search).get('name'//ddu

new URLSearchParams(location.search).get('age'//99