Skip to content

Instantly share code, notes, and snippets.

@fearphage
Created August 17, 2010 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fearphage/79ac5918d9c31fd935b7 to your computer and use it in GitHub Desktop.
Save fearphage/79ac5918d9c31fd935b7 to your computer and use it in GitHub Desktop.
01. i=f.length;while((n=f[--i]).length);n()
02. a.filter(function(i){return i})
03. x=Math.max,n=Math.min,x(a,n(b,c))==b||n(a,x(b,c))==b
04. x===!!x
05. a=[b,b=a][0]
06. n===(n|0)
07. Math.max.apply(x,x)
08. a.indexOf(b)<0&&a.push(b)
09. Array(n+1).join(x)
10. a.push.apply(a,b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment