Número aleatorio sin función RAND

/** * Implementation of XorShift * algorithm in JavaScript */
var seed;

function xorShift(){

  seed ^= seed << 13;

  seed ^= seed >> 17;

  seed ^= seed << 5;

  return seed;
}
Hacker Harsha