js (/([^0]+)/.test(bak.fk[i].toString(2).replace(/1/g,"\u25a1")))

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/28 13:11:29
js(/([^0]+)/.test(bak.fk[i].toString(2).replace(/1/g,"\u25a1")))js(/([^0]+)/.test(bak.fk[i].toString

js (/([^0]+)/.test(bak.fk[i].toString(2).replace(/1/g,"\u25a1")))
js (/([^0]+)/.test(bak.fk[i].toString(2).replace(/1/g,"\u25a1")))

js (/([^0]+)/.test(bak.fk[i].toString(2).replace(/1/g,"\u25a1")))
bak.fk[i] => 应该是数字
toString(2) => 把数字转成2禁止字符串
replace(/1/g,"\u25a1") => 把1替换成"\u25a1" (不知道"\u25a1"是什么)
(/([^0]+)/.test() => 字符串里至少有一个不是0