摘要: 1 function isHex(val) { 2 if (typeof val !== 'string') return; 3 return /^[0-9a-fA-F]+$/.test(val); 4 } 5 6 function isBinary(val) { 7 if (typeof val 阅读全文
posted @ 2023-06-21 09:31 万物有序 阅读(79) 评论(0) 推荐(0) 编辑