Skip to content

Instantly share code, notes, and snippets.

@pvdz
Created March 31, 2014 11:44
Show Gist options
  • Save pvdz/9890540 to your computer and use it in GitHub Desktop.
Save pvdz/9890540 to your computer and use it in GitHub Desktop.
random golf example
var q = Math,
r = 2 * q.PI,
w = q.sin,
x = q.pow,
y = q.max,
Q = q.sqrt;
// =>
var q=Math,w=q.sin,x=q.pow,y=q.max,Q=q.sqrt,r=2*q.PI;
// =>
with(Math)w=sin,x=pow,y=max,Q=sqrt,r=2*PI;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment