Skip to content

Commit 2addc4c

Browse files
Fix typo
1 parent 11b1671 commit 2addc4c

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ alert(user.surname); // Cooper
8585
Now we have a "virtual" property. It is readable and writable, but in fact does not exist.
8686

8787
```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.
88+
Once a property is defined with `get prop()` or `set prop()`, it's an accessor property, not a data property any more.
8989
9090
- If there's a getter -- we can read `object.prop`, otherwise we can't.
9191
- If there's a setter -- we can set `object.prop=...`, otherwise we can't.

0 commit comments

Comments
 (0)