> Earlier this week I hit a real-world issue where I needed to generate a UUID
> from JavaScript. It's possible to do this using Math.random, but these
> aren't guaranteed unique in the same way as version 1 UUID's (generated via
> a time-based algorithm). Decent wri
from JavaScript. It's possible to do this using Math.random, but these
aren't guaranteed unique in the same way as version 1 UUID's (generated via
a time-based algorithm). Decent write-up here (not mine):
http://www.broofa.com/2008/09/javascript-uuid-function/
And the spec:
http: