📜  奇偶js - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:52.047000             🧑  作者: Mango

代码示例3
for(let count =0; count<=100;count++){
 count%2==0? console.log(`${count} is even`):console.log(`${count} is odd`);
 ;
}