Fix undeclared variable
Add `let` before `a` variable
This commit is contained in:
parent
2a0516d174
commit
5eb19a5b7f
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ For example:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
*!*
|
*!*
|
||||||
a = (1+2, 3+4);
|
let a = (1+2, 3+4);
|
||||||
*/!*
|
*/!*
|
||||||
|
|
||||||
alert( a ); // 7 (the result of 3+4)
|
alert( a ); // 7 (the result of 3+4)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue