2 lines
No EOL
81 B
TypeScript
2 lines
No EOL
81 B
TypeScript
var b: number[];
|
|
b.reduce<number>((c, d) => c + d, 0); // should not error on '+'
|