URL.toString()
Baseline
Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since 2018ë 4ì.
URL.toString() 문ìì´í ë©ìëë ì ì²´ URLì ë´ì USVStringì ë°íí©ëë¤. ì¬ì¤ì ì½ê¸° ì ì© URL.hrefì¸ ì
ì
ëë¤.
ì°¸ê³ : ì´ ê¸°ë¥ì Web Workerìì ì¬ì©í ì ììµëë¤.
구문
js
href = url.toString();
ë°í ê°
ìì
js
const url = new URL(
"https://developer.mozilla.org/ko/docs/Web/API/URL/toString",
);
url.toString(); // should return the URL as a string
ëª ì¸
| Specification |
|---|
| URL> # URL-stringification-behavior> |
ë¸ë¼ì°ì í¸íì±
ê°ì´ 보기
- ë©ìëê° ìí
URLì¸í°íì´ì¤.