📅  最后修改于: 2022-03-11 15:01:15.805000             🧑  作者: Mango
const count = 20;
if (count === 0) {
console.log('There are no students');
} else if (count === 1) {
console.log('There is only one student');
} else {
console.log(`There are ${count} students`);
}