make unique serial number in js code example
Example 1: js random id
Math.random().toString(36).slice(2);
Example 2: generate id js
Math.floor(Math.random() * 100)
//the bigger the number the bigger the output
Math.random().toString(36).slice(2);
Math.floor(Math.random() * 100)
//the bigger the number the bigger the output