Skip to content

Commit b3574a0

Browse files
committed
Fix error
1 parent 3c33a92 commit b3574a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JavaScriptKit/JSArrayRef.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extension JSArrayRef: RandomAccessCollection {
3939
}
4040

4141
public subscript(position: Int) -> JSValue {
42-
ref.get(position)
42+
ref[position]
4343
}
4444

4545
public var startIndex: Int { 0 }

0 commit comments

Comments
 (0)