자바 스크립트에서 URL 인코딩 방법
const query = encodeURIComponent('hello world?'); //safe to add to URL const url = `https://google.com/search?q=${query}`;
출력
https://google.com/search?q=hello%20world%3F
등록된 댓글이 없습니다.
코리아뉴스 2001 - , All right reserved. 더보기