红灯三秒亮一次,绿灯一秒亮一次,黄灯2秒亮一次;如何让三个灯不断交替重复亮灯 ?
function red(){
console.log('red');
}
function green(){
console.log('gr
2020-01-07