makeable / uuid-v4.js

Fast Javascript Random (RFC-4122 v4) UUIDs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A mistake in the implementation?

gamtiq opened this issue · comments

It seems there is a mistake on line #52.
I suppose the line should look like:

uuid += dec2hex[(Math.random()*16|0)];

Better late than never, I guess :D