Skip to content

Commit 18a0ead

Browse files
authored
doc: make clear the result of comparison between Symbol.for
PR-URL: #43309 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent 797e41c commit 18a0ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/contributing/using-symbols.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ for different reasons.
6161

6262
```js
6363
const s = Symbol.for('hello');
64-
console.log(s === Symbol.for('hello'));
64+
console.log(s === Symbol.for('hello')); // true
6565
```
6666

6767
In the Node.js runtime we prefix all our global symbols with `nodejs.`,

0 commit comments

Comments
 (0)