随机颜色? let r = Math.floor(Math.random() * 255); let g = Math.floor(Math.random() * 255); let b = Math.floor(Math.random() * 255); let color= `rgb(${r},${g},${b})`; return color; 写成一个函数,执行一万次?这样可以吗
点赞 3

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务