랜덤코드 생성(응용: 쿠폰)
########################################################################################
(Math.random() * Math.pow(2, 54)).toString(36)
결과 : 31mfshuv1pg
(Math.random() * Math.pow(2, 54)).toString(36).slice(0, 5)
결과 : 2r96h (slice로 5자리만 추출)
(Math.random()*1e32).toString(36)
결과 : 3xtx5ga7xtc04g44scso8
(Math.random()*1e64).toString(36)
결과 : 1d07zylg0su80kcwkwwcc0ggcg8cowkww44o4kco8c
########################################################################################
timestamp ==> Math.floor(new Date().getTime() / 1000) 를 new Date / 1E3 | 0 로 짧게 변경가능
########################################################################################