JavaScript jika, lain, dan yang lain jika
if (hour < 18) {
greeting = "Good day";
} else {
greeting = "Good evening";
}
naly moslih
if (hour < 18) {
greeting = "Good day";
} else {
greeting = "Good evening";
}