摘要: //方法1 const s = new Set(); [2,3,4,4,5,3,6,3,2].forEach(x => s.add(x)); for(let i of s){ console.log(s); } //方法2 const set = new Set([1, 2, 3, 4, 4]); [...set] 阅读全文
posted @ 2017-07-12 15:41 郑庙华 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 问题:在命令行工具安装less出现错误提示bower enogit git is not installed(已安装git) 解决方案:1、在path中添加git的bin和cmd目录,然后重启cmd 2、用git bash 阅读全文
posted @ 2017-07-12 00:13 郑庙华 阅读(646) 评论(0) 推荐(0) 编辑