📜  js 甚至或 - Javascript 代码示例

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

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