From 18a0eadeaa91f759ab7cc50028eaadee995bb6f1 Mon Sep 17 00:00:00 2001 From: Kohei Ueno Date: Mon, 6 Jun 2022 22:28:48 +0900 Subject: doc: make clear the result of comparison between Symbol.for MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/43309 Reviewed-By: Tobias Nießen Reviewed-By: Antoine du Hamel Reviewed-By: Colin Ihrig Reviewed-By: Matteo Collina Reviewed-By: Akhil Marsonya Reviewed-By: Darshan Sen --- 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 2bc32862b71..dbdd3aff725 100644 --- a/doc/contributing/using-symbols.md +++ b/doc/contributing/using-symbols.md @@ -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.`, -- cgit v1.2.3