Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: make clear the result of comparison between Symbol.for
  • Loading branch information
cola119 committed Jun 4, 2022
commit 84a51b0bb6682947d9d18bc09620cfcbb1c32e2a
2 changes: 1 addition & 1 deletion doc/contributing/using-symbols.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
Expand Down