Skip to content

Instantly share code, notes, and snippets.

@gsans
Created February 20, 2015 19:16
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsans/73bc3101493c0fb8c26d to your computer and use it in GitHub Desktop.
Save gsans/73bc3101493c0fb8c26d to your computer and use it in GitHub Desktop.
//When I wrote this, only God and I understood what I was doing
//Now, God only knows
var fibonacci = function (_) {
for(_=[+[],++[[]][+[]],+[],_],_[++[++[++[[]][+[]]][+[]]][+[]]]=(((_[++[++[++[[]][+[]]][+[]]][+[]]]-(++[[]][+[]]))&(((--[[]][+[]])>>>(++[[]][+[]]))))===(_[++[++[++[[]][+[]]][+[]]][+[]]]-(++[[]][+[]])))?(_[++[++[[]][+[]]][+[]]]=++[[]][+[]],_[++[++[++[[]][+[]]][+[]]][+[]]]-(++[[]][+[]])):+[]; _[++[++[++[[]][+[]]][+[]]][+[]]]--; _[+[]]=(_[++[[]][+[]]]=_[++[++[[]][+[]]][+[]]]=_[+[]]+_[++[[]][+[]]])-_[+[]]);
return _[++[++[[]][+[]]][+[]]];
}
@felixSchl
Copy link

I would love to know what you were doing, too. This is brilliant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment