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:
Luca1152 2022-04-19 19:01:56 +03:00 committed by GitHub
parent 291b5c05b9
commit 1f81da024d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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