| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 00dd20c commit 3e79dff
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -599,7 +599,7 @@ Gets and sets the protocol portion of the URL. | |||
| 599 | 599 | ```js | |
| 600 | 600 | const myURL = new URL('https://example.org'); | |
| 601 | 601 | console.log(myURL.protocol); | |
| 602 | - // Prints http: | ||
| 602 | + // Prints https: | ||
| 603 | 603 | ||
| 604 | 604 | myURL.protocol = 'ftp'; | |
| 605 | 605 | console.log(myURL.href); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments