Skip to content

Instantly share code, notes, and snippets.

View chrisinajar's full-sized avatar

Chris Vickery chrisinajar

  • The Internet
  • Portland, OR
View GitHub Profile
@chrisinajar
chrisinajar / fizzbuzz.js
Created May 18, 2012 02:13
javascript fizzbuzz solution
// initialize string override sequence
var j,sp = {
s: String.prototype.toString,
l: function(){console.log(this.s());}
}, d=['F','B'], fd=function(l) {sp[l]=function(){return l+this;};};
// splines.reticulate
fd(d[0]);
fd(d[1]);
for(j in sp)
String.prototype[j] = sp[j];