Sublime Text
<!DOCTYPE html> <html> <body> <script> var month = 5; switch (month){ case 1: case 2: case 3: document.write("Mùa Xuân"); break; case 4: case 5: case 6: document.write("Mùa Hạ"); break; case 7: case 8: case 9: document.write("Mùa Thu"); break; case 10: case 11: case 12: document.write("Mùa Đông"); break; } </script> </body> </html>
<!DOCTYPE html> <html> <body> <script> var month = 5; switch (month){ case 1: case 2: case 3: document.write("Mùa Xuân"); break; case 4: case 5: case 6: document.write("Mùa Hạ"); break; case 7: case 8: case 9: document.write("Mùa Thu"); break; case 10: case 11: case 12: document.write("Mùa Đông"); break; } </script> </body> </html>