was wondering how I can get this to print out empty. I tried change the humans value to 0 but it still prints 'lesser people'
let human = 0;
if (human > 10) {
console.log('Too many people');
} else if (human <= 10) {
console.log('lesser people');
} else {
console.log('empty');
}
Aucun commentaire:
Enregistrer un commentaire