JavaScript si, else y de lo contrario si

if (hour < 18) {
  greeting = "Good day";
} else {
  greeting = "Good evening";
}
naly moslih