Skip to content

Commit 0a9b905

Browse files
committed
Fixed stupid mistake :)
1 parent e300eea commit 0a9b905

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/lualib/ArrayForEach.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
function __TS__ArrayForEach<T>(arr: T[], callbackFn: (value: T, index?: number, array?: any[]) => void, thisArg?: any) {
2-
const self = thisArg;
32
for (let i = 0; i < arr.length; i++) {
43
callbackFn(arr[i], i, arr);
54
}

src/lualib/ArrayMap.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
function __TS__ArrayMap<T, U>(arr: T[], callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[] {
2-
const self = thisArg;
32
const newArray: U[] = [];
43
for (let i = 0; i < arr.length; i++) {
54
newArray[i] = callbackfn(arr[i], i, arr);

0 commit comments

Comments
 (0)