Skip to content

Commit 0936823

Browse files
committed
oops - had missed that one
1 parent 6a02eec commit 0936823

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ alert(user.fullName); // John Smith
5555
*/!*
5656
```
5757

58-
From outside, an accessor property looks like a regular one. That's the idea of accessor properties. We don't *call* `user.fullName` as a function, we **read** it normally: the getter runs behind the scenes.
58+
From outside, an accessor property looks like a regular one. That's the idea of accessor properties. We don't *call* `user.fullName` as a function, we *read* it normally: the getter runs behind the scenes.
5959

6060
As of now, `fullName` has only a getter. If we attempt to assign `user.fullName=`, there will be an error.
6161

0 commit comments

Comments
 (0)