MCPcopy
hub / github.com/socketio/socket.io / randomString

Function randomString

packages/socket.io/client-dist/socket.io.js:739–741  ·  view source on GitHub ↗

* Generates a random 8-characters string.

()

Source from the content-addressed store, hash-verified

737 * Generates a random 8-characters string.
738 */
739 function randomString() {
740 return Date.now().toString(36).substring(3) + Math.random().toString(36).substring(2, 5);
741 }
742
743 // imported from https://github.com/galkn/querystring
744 /**

Callers 3

uriFunction · 0.90
uriFunction · 0.90
socket.io.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected