2025-05-30 21:36:12 +08:00

3 lines
134 B
TypeScript

export const randomId = () => {
return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
};