minor fixes
This commit is contained in:
parent
5cd131403e
commit
1b2a192f28
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ let message = "This";
|
|||
// repeated 'let' leads to an error
|
||||
let message = "That"; // SyntaxError: 'message' has already been declared
|
||||
```
|
||||
So, we should declare a should variable once and then refer to it without `let`.
|
||||
So, we should declare a variable once and then refer to it without `let`.
|
||||
````
|
||||
|
||||
```smart header="Functional languages"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue