From 4489949ed4c77be810b3ae547f7e23136c2b6df0 Mon Sep 17 00:00:00 2001 From: zhangbao Date: Thu, 9 Jan 2020 18:16:25 +0800 Subject: [PATCH] Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was not mentioned earlier in the article that “A property can be either an accessor (has get/set methods) or a data property (has a value), not both” So,we should not say "once again". --- 1-js/07-object-properties/02-property-accessors/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/07-object-properties/02-property-accessors/article.md b/1-js/07-object-properties/02-property-accessors/article.md index 52c15281..889994cf 100644 --- a/1-js/07-object-properties/02-property-accessors/article.md +++ b/1-js/07-object-properties/02-property-accessors/article.md @@ -134,7 +134,7 @@ alert(user.fullName); // John Smith for(let key in user) alert(key); // name, surname ``` -Please note once again that a property can be either an accessor (has `get/set` methods) or a data property (has a `value`), not both. +Please note that a property can be either an accessor (has `get/set` methods) or a data property (has a `value`), not both. If we try to supply both `get` and `value` in the same descriptor, there will be an error: