Skip to content

Commit 4489949

Browse files
authored
Fix typo
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 parent a4a8408 commit 4489949

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-properties/02-property-accessors

1 file changed

+1
-1
lines changed

1-js/07-object-properties/02-property-accessors/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ alert(user.fullName); // John Smith
134134
for(let key in user) alert(key); // name, surname
135135
```
136136

137-
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.
137+
Please note that a property can be either an accessor (has `get/set` methods) or a data property (has a `value`), not both.
138138

139139
If we try to supply both `get` and `value` in the same descriptor, there will be an error:
140140

0 commit comments

Comments
 (0)