Fix grammar in 'Symbol type'
New: That said, all symbols have the `description` property. Old: That said, any symbols have `description` property.
This commit is contained in:
parent
291b5c05b9
commit
1f81da024d
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ alert( Symbol.keyFor(sym2) ); // id
|
|||
|
||||
The `Symbol.keyFor` internally uses the global symbol registry to look up the key for the symbol. So it doesn't work for non-global symbols. If the symbol is not global, it won't be able to find it and returns `undefined`.
|
||||
|
||||
That said, any symbols have `description` property.
|
||||
That said, all symbols have the `description` property.
|
||||
|
||||
For instance:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue