MCPcopy Create free account
hub / github.com/Marus/cortex-debug / getNonce

Function getNonce

src/common.ts:581–588  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

579}
580
581export function getNonce() {
582 let text = '';
583 const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
584 for (let i = 0; i < 32; i++) {
585 text += possible.charAt(Math.floor(Math.random() * possible.length));
586 }
587 return text;
588}
589export class ResettableInterval {
590 protected intervalId: NodeJS.Timeout;
591 protected args: any[];

Callers 1

getHTMLMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected