Module 2

Please fill in the right keywords to test the conditions:




Switch(day_of_week) {
  case 1:
  case 2:
  case 3:
  case 4:
  case 5:
    document.write("Working Days");
   



 Break
;
  case 6:
    document.write("Saturday");
   



 Break
;
  default:
    document.write("Today is Sunday");
    break;
}

Comments

Popular posts from this blog

Introducing object part 3

Comparison Operators part 2