UNPKG

76 BPlain TextView Raw
1let index = 0;
2
3export const generateID = () => {
4 return (index += 1);
5};