Hotfix/current url (#1204)

Update currentURL.md

Co-authored-by: Angelos Chalaris <chalarangelo@gmail.com>
This commit is contained in:
銀桑
2020-09-02 18:48:27 +08:00
committed by GitHub
parent d9c8306478
commit f64aa9aee0

View File

@ -12,5 +12,5 @@ const currentURL = () => window.location.href;
```
```js
currentURL(); // 'https://google.com'
currentURL(); // 'https://www.google.com/'
```