feature: add generate-random-string helper
This commit is contained in:
parent
584c1fc82f
commit
cbc596e280
|
@ -0,0 +1,8 @@
|
|||
// @flow
|
||||
|
||||
export default () => Math.random()
|
||||
.toString(36)
|
||||
.substring(2, 15)
|
||||
+ Math.random()
|
||||
.toString(36)
|
||||
.substring(2, 15);
|
Loading…
Reference in New Issue