dayDif() {
//该方法用于获取两个整数之间的随机整数
const random = (min, max) =>
Math.floor(Math.random() * (max - min + 1) + min);
//获得一组数的平均值
const average = (...args) => args.reduce((a, b) => a + b) / args.length;
},
dayDif() {
//该方法用于获取两个整数之间的随机整数
const random = (min, max) =>
Math.floor(Math.random() * (max - min + 1) + min);
//获得一组数的平均值
const average = (...args) => args.reduce((a, b) => a + b) / args.length;
},