Skip to content

Commit 1996e61

Browse 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 <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
1 parent 8a8b186 commit 1996e61

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
@@ -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)