diff --git a/snippets/currentURL.md b/snippets/currentURL.md index 173fffda1..7e489d7b0 100644 --- a/snippets/currentURL.md +++ b/snippets/currentURL.md @@ -12,5 +12,5 @@ const currentURL = () => window.location.href; ``` ```js -currentURL(); // 'https://google.com' +currentURL(); // 'https://www.google.com/' ```