JS验证身份证18位数字有x|X(不要正则表达式方法)var s="11111111111111x"if (s.length==18){ if (s.substring(17).toUpperCase()=="X"){ if (isNaN(s.su2023-03-03JavaScript190