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; }
This commit is contained in:
parent
dcb9d87ab8
commit
0f91236b11
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ Object.defineProperties(User.prototype, {
|
|||
});
|
||||
```
|
||||
|
||||
Here's an example with a computed property in brackets `[...]`:
|
||||
Here's an example with a computed property name in brackets `[...]`:
|
||||
|
||||
```js run
|
||||
class User {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue