MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / generateRandomName

Function generateRandomName

data/names.js:20–24  ·  view source on GitHub ↗

* Generate a random full name. * @returns {{ firstName: string, lastName: string }}

()

Source from the content-addressed store, hash-verified

18 * @returns {{ firstName: string, lastName: string }}
19 */
20function generateRandomName() {
21 const firstName = FIRST_NAMES[Math.floor(Math.random() * FIRST_NAMES.length)];
22 const lastName = LAST_NAMES[Math.floor(Math.random() * LAST_NAMES.length)];
23 return { firstName, lastName };
24}
25
26/**
27 * Generate a random birthday (age 19-25).

Callers 1

executeStep5Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected