Generate an UUID as per RFC 4122 section 4.4, see http://www.ietf.org/rfc/rfc4122.txt
To generate an UUID4 (as per RFC 4122 section 4.4):
var uuid = Math.uuid();
To generate a compact UUID for a given size:
var uuid = Math.uuidCompact(42);
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus