max = window.prompt("どこまで?","100"); for(i=1;i<=max;i++){ if(i%15==0){ document.selection.Text = "FizzBuzz"; }else if(i%5==0){ document.selection.Text = "Buzz"; }else if(i%3==0){ document.selection.Text = "Fizz"; }else{ document.selection.Text = i; } if(i != max)document.selection.Text = " "; }…