摘要:
let hour,minute,second;//时 分 秒 hour=minute=second=0;//初始化 let millisecond=0;//毫秒 let int; function Reset(){//重置 window.clearInterval(int); millisecond 阅读全文
摘要:
let sliceHaveArr = arr => { let item = [] const lengths = arr.length for (let i = 0; i < lengths; i++) { for (let y = i + 1; i < lengths; i++) { if (a 阅读全文
摘要:
const str = 'hello world' function getStrNum(val) { let num = 0 let arr = [] let arrVal = [] let strLength = val.length // if (strLength < 1) { for (l 阅读全文