Skip to content

Commit bcf93a2

Browse files
committed
convertIndex() fix
1 parent 13195a0 commit bcf93a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export class ArrayView<T> implements ArrayViewInterface<T> {
214214
* @protected
215215
*/
216216
protected convertIndex(i: number): number {
217-
return normalizeIndex(i, this.loc.length);
217+
return normalizeIndex(i, this.length);
218218
}
219219
}
220220

0 commit comments

Comments
 (0)