more definitive title

There are also array literals and string literals.
This commit is contained in:
Mustafa Kemal Tuna 2020-07-04 18:34:34 +03:00 committed by GitHub
parent 26bf51af3e
commit 5ac51835a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.