From e911709e6a4145c05e5227e8c82aa4a1b07e2b42 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Fri, 30 Dec 2022 15:15:21 +0900 Subject: [PATCH] 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 --- doc/contributing/using-symbols.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/contributing/using-symbols.md b/doc/contributing/using-symbols.md index dbdd3aff725a46..d901e88a85ff99 100644 --- a/doc/contributing/using-symbols.md +++ b/doc/contributing/using-symbols.md @@ -50,7 +50,7 @@ Some extremely popular modules in the ecosystem monkey patch some internals, making it impossible for us to update and improve those areas without causing issues for a significant amount of users. -## `Symbol.for` +## `Symbol.for(string)` Symbols created with `Symbol.for(string)` are global and unique to the same V8 Isolate. On the first call to `Symbol.for(string)` a symbol is