48

请教用 JavaScript 计算这个东西的方法 - V2EX

 7 years ago
source link: https://www.v2ex.com/t/437360
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
JavaScript - @70599 - 假设我有一个数组:[11,21,34,65,14,5,66,17,88,21,45,61,50]我想要算出这个数组中每个值(包含它自己)之后 10 个值的整数平均值,并输出到一个数组。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK