Skip to content

Instantly share code, notes, and snippets.

@leanfj
Created April 17, 2023 15:14
Show Gist options
  • Save leanfj/fceda5ff1349eae6ef2e232a12cccab6 to your computer and use it in GitHub Desktop.
Save leanfj/fceda5ff1349eae6ef2e232a12cccab6 to your computer and use it in GitHub Desktop.
OTP Generator
Math.floor(Math.random() * 1000000).toString().padStart(6,'0')
@leanfj
Copy link
Author

leanfj commented Apr 17, 2023

snippet for otp generator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment