Skip to content

Instantly share code, notes, and snippets.

View eharrow's full-sized avatar

Ewan Harrow eharrow

View GitHub Profile
@eharrow
eharrow / FizzBuzz.js
Created July 19, 2018 12:34
Simple JS FizzBuzz
/*
"Write a program that prints the numbers from 1 to 100. But for multiples of
three print “Fizz” instead of the number and for the multiples of five print
“Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”."
*/
// range fill
let numbers = [];
for(i = 0; i < 100; i++) {
let c = i + 1;

Keybase proof

I hereby claim:

  • I am eharrow on github.
  • I am ewanharrow (https://keybase.io/ewanharrow) on keybase.
  • I have a public key ASBcs0_LokJ-O8H1hZiYjdBQCH8sZOqBf5ondOT5IN8hugo

To claim this, I am signing this object: