Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 3 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | const generateRandomIdString = prefix => Math.random().toString(36).replace('0.', prefix || ''); |
||
2 | |||
3 | export default generateRandomIdString; |
||
4 |