Skip to content

Commit 63c8f6a

Browse files
authored
Fix spread operator sample in no-array-prototype-extensions rule doc (#2142)
1 parent 7e6bca9 commit 63c8f6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-array-prototype-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default class SampleComponent extends Component {
9797

9898
@action
9999
someAction(newItem) {
100-
this.abc = [...abc, newItem];
100+
this.abc = [...this.abc, newItem];
101101
}
102102
}
103103
```

0 commit comments

Comments
 (0)