By JavaScripts Magic
An OTP Is A One-Time Password Used For Secure Transactions. It’s Unique And Valid For Only One Login Or Session.
otp.toString().padStart(6, '0');
let array = new Uint32Array(1); crypto.getRandomValues(array);