超级变态的前端密码强度校验
公司要求系统密码强度校验的需求为: 1,密码中要包括数字,特殊符号,大写字母,小写字母的组合 2,密码中不能包含 admin,root,password 3,不能有键盘三个以上的连续字符(包括三个)function checkpwd(newpassword, flag) { //将密码转为大写 var password = newpassword.toUpperCase(