Core code of ChartWerk project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
150 B

export function uid(): string {
const len = 10;
// https://stackoverflow.com/a/19964557
return Math.random().toString(36).substr(2, len + 2);
}