MCPcopy Create free account
hub / github.com/Brainfock/Brainfock / getRandomString

Function getRandomString

src/common/lib/getRandomString.js:4–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2// generated content when id is server checked with logged in user.
3// https://github.com/google/closure-library/blob/2012c5372fdb02ce9531cf4b2561b05e3ce2ab39/closure/goog/string/string.js#L1183
4export default function getRandomString() {
5 let x = 2147483648;
6 return Math.floor(Math.random() * x).toString(36) +
7 Math.abs(Math.floor(Math.random() * x) ^ Date.now()).toString(36);
8}

Callers 5

usersReducerFunction · 0.85
todosReducerFunction · 0.85
spacesReducerFunction · 0.85
boardsReducerFunction · 0.85
usersReducerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected