From d9cbf258806a83391a7f9d9ce7644ef61a6b6fc2 Mon Sep 17 00:00:00 2001 From: daGo Date: Mon, 22 Oct 2018 14:38:18 +0300 Subject: [PATCH] fixSentence [-] What's the benefit over using `Symbol("id")` over a string `"id"`? [+] What's the benefit of using `Symbol("id")` over a string `"id"`? --- 1-js/04-object-basics/03-symbol/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/03-symbol/article.md b/1-js/04-object-basics/03-symbol/article.md index ba398941..b4336762 100644 --- a/1-js/04-object-basics/03-symbol/article.md +++ b/1-js/04-object-basics/03-symbol/article.md @@ -75,7 +75,7 @@ user[id] = "ID Value"; alert( user[id] ); // we can access the data using the symbol as the key ``` -What's the benefit over using `Symbol("id")` over a string `"id"`? +What's the benefit of using `Symbol("id")` over a string `"id"`? Let's make the example a bit deeper to see that.