javascript generate string with number code example Example: random alphabet javascript Math.random().toString(36).substr(2, 5);