Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/es6/var_let_const.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var a = 30
console.log(a) // 30
```

在函数中使用使用`var`声明变量时候,该变量是局部的
在函数中使用`var`声明变量时候,该变量是局部的

```js
var a = 20
Expand Down Expand Up @@ -304,4 +304,4 @@ console.log(c) // Uncaught TypeError: Assignment to constant variable

## 参考文献

- https://es6.ruanyifeng.com/
- https://es6.ruanyifeng.com/