SHARE
TWEET

Untitled

a guest Oct 19th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <meta charset="utf-8">
  5.   <meta name="viewport" content="width=device-width">
  6.   <title>JS Bin</title>
  7. </head>
  8. <body>
  9.  
  10. <script id="jsbin-javascript">
  11. var dia=6;
  12. switch (dia) {
  13.   case 1:
  14.     console.log ('Es Lunes');
  15.     break;
  16.     case 2:
  17.     console.log ('Es Martes');
  18.     break;
  19.   default:
  20.     console.log ('DIA DE LA SEMANA NO CUMPUTADO');
  21. }
  22. </script>
  23.  
  24.  
  25.  
  26. <script id="jsbin-source-javascript" type="text/javascript">var dia=6;
  27. switch (dia) {
  28.   case 1:
  29.     console.log ('Es Lunes');
  30.     break;
  31.     case 2:
  32.     console.log ('Es Martes');
  33.     break;
  34.   default:
  35.     console.log ('DIA DE LA SEMANA NO CUMPUTADO');
  36. }</script></body>
  37. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top