From 42dfda8f78fd349d7d421a3f661034ecce5f275b 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 832a88a9f75bac..3d4500aa385969 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