UNPKG

@neurosity/sdk

Version:
5 lines (4 loc) 170 B
// Creates a number of 6 digits and ensures the first digit will never be 0 export function create6DigitPin() { return Math.floor(100000 + Math.random() * 900000); }