摘要: let set = new Set(); //set方法去除重复的数据 [1, 2, 3, 4, 2, 8, 4].map(function (elem) { set.add(elem); //遍历完用add添加至set数组中 }) for (let elem of set) { //利用for.. 阅读全文
posted @ 2016-12-08 18:07 Model-Zachary 阅读(268) 评论(0) 推荐(0) 编辑
摘要: @charset "UTF-8"; /**css初始化**/ body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, te 阅读全文
posted @ 2016-12-08 14:41 Model-Zachary 阅读(246) 评论(0) 推荐(0) 编辑