Skip to content

Commit

Permalink
Fix Class setter
Browse files Browse the repository at this point in the history
  • Loading branch information
sudheerj committed Sep 1, 2024
1 parent 1fb8435 commit 5f95b6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ Each proposal for an ECMAScript feature goes through the following maturity stag
return this.length * this.length;
}

set area(value) {
this.area = value;
set length(value) {
this.length = value;
}
}
```
Expand All @@ -252,8 +252,8 @@ Each proposal for an ECMAScript feature goes through the following maturity stag
return this.length * this.length;
}
set area(value) {
this.area = value;
set length(value) {
this.length = value;
}
}
```
Expand Down

0 comments on commit 5f95b6a

Please sign in to comment.