UNPKG
utils-lazy-hook
Version:
latest (1.8.0)
1.8.0
1.7.0
1.6.2
1.6.1
1.6.0
1.5.0
1.4.0
1.3.0
1.2.1
1.1.1
1.1.0
1.0.0
0.1.3
0.1.2
utils-lazy-hook
github.com/gitihm/utils-lazy-hook
gitihm/utils-lazy-hook
utils-lazy-hook
/
lib
/
useRandomString.js
7 lines
(6 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
const
useRandomString
= (
) => {
return
(
Math
.
random
() +
1
).
toString
(
36
).
substring
(
7
) +
Date
.
now
(); };
exports
.
default
= useRandomString;