Skip to content

Commit 0f91236

Browse files
authored
computed property name instead of computed propert
"computed property" term can make us recall "dynamically computed property" like fullname. And it can create misunderstanding. get fullname(){ return this.name+ ' ' + this.surname; }
1 parent dcb9d87 commit 0f91236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/01-class/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Object.defineProperties(User.prototype, {
282282
});
283283
```
284284

285-
Here's an example with a computed property in brackets `[...]`:
285+
Here's an example with a computed property name in brackets `[...]`:
286286

287287
```js run
288288
class User {

0 commit comments

Comments
 (0)