MCPcopy Create free account
hub / github.com/codemistic/Web-Development / getRandomSymbol

Function getRandomSymbol

modern-password-generator/script.js:23–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21};
22
23const getRandomSymbol = () => {
24 const symbols = "!#$%&()*+,-./:;<=>?@[]^_`{|}~";
25 return symbols[Math.floor(Math.random() * symbols.length)];
26};
27
28const randomFunc = {
29 lower: getRandomLower,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected