Created
          May 3, 2018 18:48 
        
      - 
      
- 
        Save raspher/430d3d38a40a8bdaa5356d99e671a12f to your computer and use it in GitHub Desktop. 
Revisions
- 
        Uzerus created this gist May 3, 2018 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,45 @@ <!DOCTYPE html> <html> <head> <meta name="description" content="ZJS 2.2 - FizzBuzz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>JS Bin</title> </head> <body> <script id="jsbin-javascript"> for (var x=1;x<=100;x++){ switch (true){ case (x % 5 === 0 && x % 3 === 0): console.log("FizzBuzz"); break; case (x % 3 === 0): console.log("Fizz"); break; case (x % 5 === 0): console.log("Buzz"); break; default: console.log(x); } } </script> <script id="jsbin-source-javascript" type="text/javascript">for (var x=1;x<=100;x++){ switch (true){ case (x % 5 === 0 && x % 3 === 0): console.log("FizzBuzz"); break; case (x % 3 === 0): console.log("Fizz"); break; case (x % 5 === 0): console.log("Buzz"); break; default: console.log(x); } }</script></body> </html> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ for (var x=1;x<=100;x++){ switch (true){ case (x % 5 === 0 && x % 3 === 0): console.log("FizzBuzz"); break; case (x % 3 === 0): console.log("Fizz"); break; case (x % 5 === 0): console.log("Buzz"); break; default: console.log(x); } } 
 Uzerus
              created
            
            this gist
            
              Uzerus
              created
            
            this gist