minor fixes

This commit is contained in:
Ilya Kantor 2022-04-15 10:02:55 +03:00
parent c37c564ae1
commit df822daebe

View file

@ -44,7 +44,7 @@ alert(id1 == id2); // false
If you are familiar with Ruby or another language that also has some sort of "symbols" -- please don't be misguided. JavaScript symbols are different.
So, to summarize, symbols are "special unique values" with optional description. Let's see where we can use them.
So, to summarize, symbols are "primitive unique values" with optional description. Let's see where we can use them.
````warn header="Symbols don't auto-convert to a string"
Most values in JavaScript support implicit conversion to a string. For instance, we can `alert` almost any value, and it will work. Symbols are special. They don't auto-convert.