摘要:
<body> 姓名:<span id="spanName"></span> <br> <input type="text" id="inpName"> <script> let a = {}, b = '0', c = 0 ; a[b] = 'lord'; a[c] = 'suan'; consol 阅读全文
摘要:
let ary = [12,23,12,15,25,15,25,23,16]; 数组去重 1.es6的SET let arr = Array.from(new Set(ary)); console.log(arr); 2.拿出当前项和后面的内容进行比较 for(let i = 0;i<ary.len 阅读全文