diff options
author | Kohei Ueno <kohei.ueno119@gmail.com> | 2022-06-06 16:28:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 16:28:48 +0300 |
commit | 18a0eadeaa91f759ab7cc50028eaadee995bb6f1 (patch) | |
tree | 1cb47f77ef554964290402fd1e080d46a06d81e7 | |
parent | 797e41c9e567d6e00675639a0b72e330da2e51ae (diff) |
doc: make clear the result of comparison between Symbol.for
PR-URL: https://github.com/nodejs/node/pull/43309
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
-rw-r--r-- | doc/contributing/using-symbols.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/contributing/using-symbols.md b/doc/contributing/using-symbols.md index 2bc32862b71..dbdd3aff725 100644 --- a/doc/contributing/using-symbols.md +++ b/doc/contributing/using-symbols.md @@ -61,7 +61,7 @@ for different reasons. ```js const s = Symbol.for('hello'); -console.log(s === Symbol.for('hello')); +console.log(s === Symbol.for('hello')); // true ``` In the Node.js runtime we prefix all our global symbols with `nodejs.`, |