We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b1671 commit 2addc4cCopy full SHA for 2addc4c
1-js/07-object-properties/02-property-accessors/article.md
@@ -85,7 +85,7 @@ alert(user.surname); // Cooper
85
Now we have a "virtual" property. It is readable and writable, but in fact does not exist.
86
87
```smart header="Accessor properties are only accessible with get/set"
88
-Once a property is defined with `get prop()` or `set prop()`, it's an accessor property, not a data properety any more.
+Once a property is defined with `get prop()` or `set prop()`, it's an accessor property, not a data property any more.
89
90
- If there's a getter -- we can read `object.prop`, otherwise we can't.
91
- If there's a setter -- we can set `object.prop=...`, otherwise we can't.
0 commit comments