var __rand_last_val, __rand_last_time;
function rand() {
var res = (new Date()).getMilliseconds() / 1000;
if (res == __rand_last_time)
res = res * +('0.' + __rand_last_val.toString().substr(-2)) + __rand_last_val / 1000;
else
__rand_last_time = res;
return __rand_last_val = res;
};
var i = 10,
r = []
while (i--)
r.push(rand());
console.log(r);