Fizzbuzz implemented in javascript