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