Skip to content

Instantly share code, notes, and snippets.

@alifma
Created September 24, 2024 13:53
Show Gist options
  • Save alifma/643a634172cd2d3b7b4692ee7c7fab59 to your computer and use it in GitHub Desktop.
Save alifma/643a634172cd2d3b7b4692ee7c7fab59 to your computer and use it in GitHub Desktop.
function fizzBuzz(n) {
// implementasi
}
fizzBuzz(15);
// output:
// 1
// 2
// Fizz
// 4
// Buzz
// Fizz
// 7
// 8
// Fizz
// Buzz
// 11
// Fizz
// 13
// 14
// FizzBuzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment