Created
August 5, 2012 06:35
-
-
Save dinopetrone/3262368 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fb = { | |
fbArr:['','','Fizz','','Buzz','Fizz','','','Fizz','Buzz','','Fizz','','','FizzBuzz'], | |
next:function(){ | |
var first_slot = this.fbArr.shift(); | |
this.fbArr.push(first_slot); | |
console.log(first_slot); | |
} | |
} | |
fb.next(); | |
while(true){ | |
fb.next(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simplified POC. Same functionality as Dino's with no numbers as well.