From afbd71d63488475aabfd0983ec1ffd22bfebb615 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Fri, 15 Apr 2022 08:05:27 +0300 Subject: [PATCH] minor fixes --- 1-js/04-object-basics/08-symbol/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/08-symbol/article.md b/1-js/04-object-basics/08-symbol/article.md index d071f651..a1a1e792 100644 --- a/1-js/04-object-basics/08-symbol/article.md +++ b/1-js/04-object-basics/08-symbol/article.md @@ -6,7 +6,7 @@ By specification, only two primitive types may serve as object property keys: - string type, or - symbol type. -Otherwise, if one uses another type, such as number, it's autoconverted to string. So that `obj[1]` is the same as `obj["1"]` and `obj[true]` is the same as `obj["true"]`. +Otherwise, if one uses another type, such as number, it's autoconverted to string. So that `obj[1]` is the same as `obj["1"]`, and `obj[true]` is the same as `obj["true"]`. Till now we've been using only strings.