feature: add generate-random-string helper

This commit is contained in:
George Lima 2018-12-05 16:42:48 -03:00
parent 584c1fc82f
commit cbc596e280
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// @flow
export default () => Math.random()
.toString(36)
.substring(2, 15)
+ Math.random()
.toString(36)
.substring(2, 15);