more definitive title
There are also array literals and string literals.
This commit is contained in:
parent
26bf51af3e
commit
5ac51835a7
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ user.id = "Their id value"
|
|||
// Boom! overwritten by another script!
|
||||
```
|
||||
|
||||
### Symbols in a literal
|
||||
### Symbols in a object literal
|
||||
|
||||
If we want to use a symbol in an object literal `{...}`, we need square brackets around it.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue