Skip to content

Instantly share code, notes, and snippets.

@maplpro
Created October 26, 2010 09:59
Show Gist options
  • Save maplpro/646628 to your computer and use it in GitHub Desktop.
Save maplpro/646628 to your computer and use it in GitHub Desktop.
how to get next random diff. from prev. one
var func = function () { var a = Math.random(); return ( ( a === func.a ) && func() ) || ( func.a = a ); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment