From 47bd445e56943bafc4e9c4251170ad144aa6ea20 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 19 Nov 2020 04:45:55 -0800 Subject: [PATCH] doc: remove stray comma in url.md PR-URL: https://github.com/nodejs/node/pull/36175 Reviewed-By: Richard Lau Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell Reviewed-By: Benjamin Gruenbaum Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat --- doc/api/url.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/url.md b/doc/api/url.md index 5276663749adb8..df2ae85d81faca 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -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