摘要:
使用JavaScript可以做很多事,下面是两种生成随机密码的方式:第一种比较简单:var m="",i=16;for(;i>=0;i--){ m+=String.fromCharCode(Math.floor(Math.random()*94+33));}console.log(m);第二种是我比较喜欢用的:/** * 生成密码字符串 * 33~47:!~/ * 48~57:0~9 * 5... 阅读全文
posted @ 2018-11-01 21:39
hankuksui
阅读(2974)
评论(0)
推荐(0)

浙公网安备 33010602011771号