Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at the New York ColdFusion User Group (Jan. 2008) with: Adam Lehman
Ben Nadel at the New York ColdFusion User Group (Jan. 2008) with: Adam Lehman@adrocknaphobia )

Aaron Fellin

Member since Aug 14, 2011

Recent Blog Comments By Aaron Fellin

  • Ask Ben: Creating Large Random Strings In Javascript

    Posted on Aug 14, 2011 at 4:22 PM

    Math.random() doesn't actually take a parameter; the function is seeded by the time. If you want to pass a seed to random (and you don't, the way you're presenting it here), you need to write your own PRNG. There's one liked here, which does accept a seed value: http://stackoverflow.com/questions/... read more »