Skip to content

Commit e3c35a7

Browse files
committed
update comment from 'slice' to 'splice()' to avoid confusion
1 parent c28ac4e commit e3c35a7

File tree

1 file changed

+1
-1
lines changed
  • frameworks/keyed/fast/src

1 file changed

+1
-1
lines changed

frameworks/keyed/fast/src/App.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class BenchmarkApp extends FASTElement {
6565
if (!this.rows) return;
6666

6767
for (let i = 0; i < this.rows.length; i += 10) {
68-
// make a copy, then update the array using slice. See below for details
68+
// make a copy, then update the array using .splice(). See below for details
6969
// https://www.fast.design/docs/fast-element/observables-and-state/#observing-arrays
7070
let rowItem = Object.create(this.rows[i]);
7171
rowItem.label += ' !!!';

0 commit comments

Comments
 (0)