js 数据平均分配

// 数据平均分配
function generateSequence(startValue: any, endValue: any, increment: any) {
  const sequence = [];
  for (let i = startValue; i <= endValue; i += increment) {
    sequence.push(i);
  }
  return sequence;
}

 

posted @ 2024-12-10 18:50  abcByme  阅读(6)  评论(0编辑  收藏  举报