Skip to content

Instantly share code, notes, and snippets.

@indatawetrust
Last active January 28, 2021 13:40
Show Gist options
  • Save indatawetrust/c0cbea78dca5e9761758c29517189215 to your computer and use it in GitHub Desktop.
Save indatawetrust/c0cbea78dca5e9761758c29517189215 to your computer and use it in GitHub Desktop.
random object id
const randomObjectId = () => Array(2).fill().map(() => Math.random().toString(16).slice(2)).join('')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment