Skip to content

Commit

Permalink
Fix spread operator sample in no-array-prototype-extensions rule doc (
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp authored May 2, 2024
1 parent 7e6bca9 commit 63c8f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-array-prototype-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class SampleComponent extends Component {

@action
someAction(newItem) {
this.abc = [...abc, newItem];
this.abc = [...this.abc, newItem];
}
}
```
Expand Down

0 comments on commit 63c8f6a

Please sign in to comment.