Produce a random string of number, genRndNumString(7) => '7658495'.
genRndNumString(7)
Usage:
const ret1 = genRndNumString(4);const ret2 = genRndNumString(7);console.log(ret1);console.log(ret2); Copy
const ret1 = genRndNumString(4);const ret2 = genRndNumString(7);console.log(ret1);console.log(ret2);
Output:
9730 2262490 Copy
9730 2262490
Length
Return the random string.
Produce a random string of number,
genRndNumString(7)
=> '7658495'.Usage:
Output: