14 lines
158 B
JavaScript
14 lines
158 B
JavaScript
let age = 17
|
|
|
|
if (5 > 0) {
|
|
console.log("Je to pravda")
|
|
}
|
|
|
|
if (age >= 18) {
|
|
console.log("Jste dospělí")
|
|
}
|
|
|
|
if (age < 18) {
|
|
console.log("Jsi dítě")
|
|
}
|