Assignment operator in code formatting
This commit is contained in:
parent
6109448768
commit
c720872bd2
1 changed files with 2 additions and 3 deletions
|
@ -187,9 +187,8 @@ First, the syntax: how to see what is what in the code.
|
||||||
return a + b;
|
return a + b;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
- *Function Expression:* a function, created inside an expression or inside another syntax construct.
|
- *Function Expression:* a function, created inside an expression or inside another syntax construct. Here, the function is created at the right side of the "assignment expression" `=`:
|
||||||
|
|
||||||
Here, the function is created at the right side of the "assignment expression =":
|
|
||||||
```js
|
```js
|
||||||
// Function Expression
|
// Function Expression
|
||||||
let sum = function(a, b) {
|
let sum = function(a, b) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue