mirror of https://github.com/nodejs/node.git
doc: remove stray comma in url.md
PR-URL: https://github.com/nodejs/node/pull/36175 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>pull/36175/head
parent
0d468ab200
commit
77364b0456
|
@ -215,7 +215,7 @@ myURL.hostname = 'example.com:82';
|
|||
console.log(myURL.href);
|
||||
// Prints https://example.com:81/foo
|
||||
|
||||
// Use, myURL.host to change the hostname and port
|
||||
// Use myURL.host to change the hostname and port
|
||||
myURL.host = 'example.org:82';
|
||||
console.log(myURL.href);
|
||||
// Prints https://example.org:82/foo
|
||||
|
|
Loading…
Reference in New Issue