Spaces:
Sleeping
Sleeping
| let globalCounter = 0; | |
| export function createBrowserId(prefix = 'id') { | |
| globalCounter += 1; | |
| return `${prefix}_${Date.now().toString(36)}_${globalCounter.toString(36)}`; | |
| } | |
| let globalCounter = 0; | |
| export function createBrowserId(prefix = 'id') { | |
| globalCounter += 1; | |
| return `${prefix}_${Date.now().toString(36)}_${globalCounter.toString(36)}`; | |
| } | |