elseif 370 B

123456789101112131415161718192021222324
  1. function test(a) {
  2. if(a == 1) {
  3. print 10;
  4. } else if(a == 1) {
  5. print null;
  6. } else if(a == 2) {
  7. print 20;
  8. } else if(a == 3) {
  9. print 30;
  10. } else if(a == 2) {
  11. print null;
  12. } else if(a == 4) {
  13. print 40;
  14. } else {
  15. print 50;
  16. }
  17. }
  18. test(0);
  19. test(1);
  20. test(2);
  21. test(3);
  22. test(4);
  23. test(5);
  24. test(6);