Fix a small typo
The sentence "no matter what is the value" is not interrogative. It should be "no matter what the value is".
This commit is contained in:
parent
f72405a263
commit
4f695061f5
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ let sayHi = function() {
|
|||
|
||||
The answer is simple:
|
||||
- There's no need for `;` at the end of code blocks and syntax structures that use them like `if { ... }`, `for { }`, `function f { }` etc.
|
||||
- A Function Expression is used inside the statement: `let sayHi = ...;`, as a value. It's not a code block, but rather an assignment. The semicolon `;` is recommended at the end of statements, no matter what is the value. So the semicolon here is not related to the Function Expression itself, it just terminates the statement.
|
||||
- A Function Expression is used inside the statement: `let sayHi = ...;`, as a value. It's not a code block, but rather an assignment. The semicolon `;` is recommended at the end of statements, no matter what the value is. So the semicolon here is not related to the Function Expression itself, it just terminates the statement.
|
||||
````
|
||||
|
||||
## Callback functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue