Assignment operator in code formatting

This commit is contained in:
Brent Guffens 2018-01-18 21:32:32 +01:00 committed by GitHub
parent 6109448768
commit c720872bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,9 +187,8 @@ First, the syntax: how to see what is what in the code.
return a + b;
}
```
- *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 =":
- *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" `=`:
```js
// Function Expression
let sum = function(a, b) {