Remove "framework"
This commit is contained in:
parent
b45bdb18a0
commit
dc86d30eb2
72 changed files with 359 additions and 333 deletions
2
src/helper/sum.ts
Normal file
2
src/helper/sum.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export const sum = (list: ArrayLike<number>): number =>
|
||||
Array.prototype.reduce.call(list, (a: number, sum: number) => a + sum, 0);
|
||||
Loading…
Add table
Add a link
Reference in a new issue