feat: add age check with conditional logging
This commit is contained in:
@@ -12,3 +12,5 @@ if (age >= 18) {
|
||||
} else {
|
||||
console.log(name + " es menor de edad");
|
||||
}
|
||||
|
||||
// Segundo ejercicio:
|
||||
Reference in New Issue
Block a user