📜  随机 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:13.099000             🧑  作者: Mango

代码示例6
var rand = "_" + Math.random().toString(36).substr(2, 9);
console.log(rand)

// or use this
var e = Math.random().toString(31).substring(2)
console.log(e)