Refactor and fix

This commit is contained in:
schmelczerandras 2020-11-22 22:43:28 +01:00
parent 91d92f7f48
commit 4be519f052
22 changed files with 118 additions and 113 deletions

View file

@ -1,2 +1,3 @@
export const sum = (list: ArrayLike<number>): number =>
// @ts-ignore
Array.prototype.reduce.call(list, (a: number, sum: number) => a + sum, 0);