Skip to content

Commit cde15b0

Browse files
authored
chore: fix typo
1 parent 20b888b commit cde15b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/reactivity/src/arrayInstrumentations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const arrayInstrumentations: Record<string | symbol, Function> = <any>{
107107
return reactiveReadArray(this).join(separator)
108108
},
109109

110-
// keys() iterator only reads `length`, no optimisation required
110+
// keys() iterator only reads `length`, no optimization required
111111

112112
lastIndexOf(...args: unknown[]) {
113113
return searchProxy(this, 'lastIndexOf', args)
@@ -200,7 +200,7 @@ function iterator(
200200
wrapValue: (value: any) => unknown,
201201
) {
202202
// note that taking ARRAY_ITERATE dependency here is not strictly equivalent
203-
// to calling iterate on the proxified array.
203+
// to calling iterate on the proxied array.
204204
// creating the iterator does not access any array property:
205205
// it is only when .next() is called that length and indexes are accessed.
206206
// pushed to the extreme, an iterator could be created in one effect scope,

0 commit comments

Comments
 (0)