We know this is happening, and we adapt.
TypeScript: Fully typed for better DX and reliability
,更多细节参见新收录的资料
// Sum array elements — zero-based indexing is natural
We can remove the possibility for an overflow by converting this function to an iterative form: