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>
This commit is contained in:
Kohei Ueno authored and GitHub committed 2022-06-06 14:28:48 +01:00
1 parent 797e41c9e5
commit 18a0eadeaa
1 file changed
+1 -1
+1 -1
View File
@@ -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.`,