заменить для Ifelse

//Ternary Operator

let age=24;

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

console.log(type)
Nivas BN