minor fixes
This commit is contained in:
parent
6bf135a11e
commit
0305a0b864
1 changed files with 7 additions and 2 deletions
|
@ -1,9 +1,14 @@
|
|||
|
||||
# Symbol type
|
||||
|
||||
By specification, object property keys may be either of string type, or of symbol type. Not numbers, not booleans, only strings or symbols, these two types.
|
||||
By specification, object property keys may be either of two primitive types:
|
||||
|
||||
Till now we've been using only strings. Now let's see the benefits that symbols can give us.
|
||||
- string type, or
|
||||
- symbol type.
|
||||
|
||||
Till now we've been using only strings.
|
||||
|
||||
Now let's explore symbols, see what they can do good for us.
|
||||
|
||||
## Symbols
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue