Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aelishRollo committed Jun 18, 2024
2 parents 65944df + 9245c14 commit 80be197
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions IPAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export function ipsBetween(start: string, end: string): number {

return endInt - startInt;
}
console.log('Auto-update for IPAddress.ts');
1 change: 1 addition & 0 deletions arrayPlusArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export const arrayPlusArray = (arr1 : number[], arr2 : number[]) : number => {
//Param: two arrays

//Return: sum of all elements of each array
console.log('Auto-update for arrayPlusArray.ts');
1 change: 1 addition & 0 deletions basicOperations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export function basicOp(operation: string, value1: number, value2: number): numb
}
return result
}
console.log('Auto-update for basicOperations.ts');
1 change: 1 addition & 0 deletions calculateAverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ export function findAverage(array: number[]): number {
return sum / array.length
}
}
console.log('Auto-update for calculateAverage.ts');
2 changes: 1 addition & 1 deletion drawStairs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ export function drawStairs(n: number): string {
}
return result;
}

console.log('Auto-update for drawStairs.ts');
2 changes: 1 addition & 1 deletion fakeBinary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export const fakeBin = (x:string):string => {
};



console.log('Auto-update for fakeBinary.ts');
1 change: 1 addition & 0 deletions invertValues.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export function invert(array: number[]): number[] {
return array.map((element) => -element )
}
console.log('Auto-update for invertValues.ts');
1 change: 1 addition & 0 deletions multiply.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export function multiply(a: number, b: number): number {
return a * b;
}
console.log('Auto-update for multiply.ts');
1 change: 1 addition & 0 deletions powersOfTwo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export function powersOfTwo(n:number):number[]{
}
return result
}
console.log('Auto-update for powersOfTwo.ts');
1 change: 1 addition & 0 deletions sumMixedArray.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export function sumMix(x: any[]): number {
return x.reduce((accum,currentNum) => accum + Number(currentNum),0)
}
console.log('Auto-update for sumMixedArray.ts');

0 comments on commit 80be197

Please sign in to comment.