This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/js-framework/util/uniqueId.ts

5 lines
103 B
TypeScript
Raw Normal View History

2019-07-16 14:02:55 +08:00
let __uniqueId__: number = 0
export function uniqueId() {
return `__unique_${__uniqueId__++}__`;
}