Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1996e61

Browse filesBrowse files
deokjinkimRafaelGSS
authored andcommitted
doc: describe argument of Symbol.for
Symbol is described with argument, but argument of Symbol.for is ommited. So describe argument of Symbol.for for consistency. Refs: https://github.com/nodejs/node/blob/main/doc/contributing/using-symbols.md#symbolstring PR-URL: #46019 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 8a8b186 commit 1996e61
Copy full SHA for 1996e61

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/contributing/using-symbols.md‎

Copy file name to clipboardExpand all lines: doc/contributing/using-symbols.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Some extremely popular modules in the ecosystem monkey patch some
5050
internals, making it impossible for us to update and improve those
5151
areas without causing issues for a significant amount of users.
5252

53-
## `Symbol.for`
53+
## `Symbol.for(string)`
5454

5555
Symbols created with `Symbol.for(string)` are global and unique to the
5656
same V8 Isolate. On the first call to `Symbol.for(string)` a symbol is

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.