生成随机的十六进制字符串
const hex = genRanHex(8);console.log(hex); // 可能输出 "a3f9c1b2" Copy
const hex = genRanHex(8);console.log(hex); // 可能输出 "a3f9c1b2"
生成的十六进制字符串长度
生成的随机十六进制字符串
生成随机的十六进制字符串
Example