update code snippet that was marked as text.
This commit is contained in:
parent
9365275467
commit
3334ce274e
1 changed files with 0 additions and 2 deletions
|
@ -83,7 +83,6 @@ let user = {
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
````smart header="Trailing comma"
|
|
||||||
The last property in the list may end with a comma:
|
The last property in the list may end with a comma:
|
||||||
```js
|
```js
|
||||||
let user = {
|
let user = {
|
||||||
|
@ -92,7 +91,6 @@ let user = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
That is called a "trailing" or "hanging" comma. Makes it easier to add/remove/move around properties, because all lines become alike.
|
That is called a "trailing" or "hanging" comma. Makes it easier to add/remove/move around properties, because all lines become alike.
|
||||||
````
|
|
||||||
|
|
||||||
## Square brackets
|
## Square brackets
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue