minor fixes

This commit is contained in:
Ilya Kantor 2022-04-15 08:03:25 +03:00
parent 6bf135a11e
commit 0305a0b864

View file

@ -1,9 +1,14 @@
# Symbol type # 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 ## Symbols