Skip to content

Instantly share code, notes, and snippets.

View buzzert's full-sized avatar
💭
Hacking on some programmable display thing

James Magahern buzzert

💭
Hacking on some programmable display thing
View GitHub Profile
@buzzert
buzzert / fizzbuzz_compiler.js
Created July 25, 2018 05:42
A fizzbuzz instructions compiler written in JavaScript
(fizzbuzz = () => {
/*
Instructions:
Loop a counter from 1 to 100.
If the counter is a multiple of 3 and the counter is a multiple of 5, then print "fizzbuzz".
If the counter is a multiple of 3, then print "fizz".
If the counter is a multiple of 5, then print "buzz".
Otherwise print counter.
Done.
*/

Keybase proof

I hereby claim:

  • I am buzzert on github.
  • I am buzzert (https://keybase.io/buzzert) on keybase.
  • I have a public key whose fingerprint is D9C7 53B8 4A22 56B2 C203 A7AF EA27 DC39 6DA8 5711

To claim this, I am signing this object: