@jp2kk2/

Playground

JavaScript

No description

fork
loading
main.js
1
2
3
4
5
6
7
8
9
10
11
for(i=1; i<101; i++){
  if(i%5 === 0 && i%3==0){
    console.log("FIZZBUZZ");
  } else if(i%5 == 0){
    console.log("BUZZ")
  }else if(i%3 == 0){
    console.log("fizz")
  }else{
    console.log(i)
  }
}
Native Browser JavaScript