Change all snippets from var to const
This commit is contained in:
@ -3,5 +3,5 @@
|
||||
Use `window.location.href` to get current URL.
|
||||
|
||||
```js
|
||||
var currentUrl = _ => window.location.href;
|
||||
const currentUrl = _ => window.location.href;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user