로그인 상태가 아닙니다.
const urlParams = new URL(location.href).searchParams; const name = urlParams.get('name'); console.log(name);