Baseline Widely available
URL
ì¸í°íì´ì¤ì host
ìì±ì URLì í¸ì¤í¸, ì¦ hostname
ì í¨ê», í¬í¸ê° ì¡´ì¬íë ê²½ì° ':'
ê³¼ ê·¸ ë¤ì port
를 í¬í¨íë USVString
문ìì´ì
ëë¤.
ì°¸ê³ : ì´ ê¸°ë¥ì Web Workerìì ì¬ì©í ì ììµëë¤.
구문const host = url.host;
url.host = newHost;
ê°
ìì
let url = new URL("https://developer.mozilla.org/ko/docs/Web/API/URL/host");
console.log(url.host); // "developer.mozilla.org"
url = new URL("https://developer.mozilla.org:443/ko/docs/Web/API/URL/host");
console.log(url.host); // "developer.mozilla.org"
// The port number is not included because 443 is the scheme's default port
url = new URL("https://developer.mozilla.org:4097/ko/docs/Web/API/URL/host");
console.log(url.host); // "developer.mozilla.org:4097"
ëª
ì¸ ë¸ë¼ì°ì í¸íì± ê°ì´ 보기
URL
ì¸í°íì´ì¤.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4