UNPKG

nammaniru_common_service

Version:

The service will contain all the functionality which is common for both shop and customer

10 lines (9 loc) 310 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GenerateOTP = GenerateOTP; function GenerateOTP() { console.log("Inside OTPGenerator"); const OTP = Math.floor(Math.random() * (9999 - 999) + 999); console.log("Generated OTP:", OTP); return OTP.toString(); }