doc: add comment to uuid function
This commit is contained in:
parent
93c0570bc4
commit
b72e608280
|
@ -7,6 +7,11 @@ const a = 0x61;
|
||||||
const i = 0x69;
|
const i = 0x69;
|
||||||
const nice = 0x45;
|
const nice = 0x45;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This UUID is dependant on 100-nanosecond intervals since 15 October 1582.
|
||||||
|
* It wraps in 3400 AD.
|
||||||
|
* see RFC 4122 4.2.1.
|
||||||
|
*/
|
||||||
export function uuid(): string {
|
export function uuid(): string {
|
||||||
return uuidv1({
|
return uuidv1({
|
||||||
node: [R, e, n, a, i, nice],
|
node: [R, e, n, a, i, nice],
|
||||||
|
|
Loading…
Reference in New Issue