Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 572 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 572 Bytes

Usage

$ ./make3diff.py fizzbuzz.js

   for(var i=1;i<=100;i   for(var i=1;i<=100;i     
   ++){if(i%3===0){if(i   ++) {if(i%3===0) {if(i   
 %5===0){console.log(       %5===0) {console.log(  
"FizzBuzz")} else{con        "FizzBuzz")}else {con 
sole.log("Fizz")} } el       sole.log("Fizz")}}el  
  se if(i%5===0){conso     se if(i%5===0) {conso   
 le.log("Buzz")} else{      le.log("Buzz")}else {  
 console.log(i)} }          console.log(i)}}       
            ●                         ●            

$ ./make3diff.py < fizzbuzz.js # you can use stdin