Wymień dla IFELSE

//Ternary Operator

let age=24;

let type= age > 18? "Adult Ticket" : "Child Ticket"

console.log(type)
Nivas BN