05 2020 档案
摘要:判断js中的数据类型有一下几种方法:typeof、instanceof、 constructor、 prototype、 $.type()/jquery.type(),接下来主要比较一下这几种方法的异同。 https://www.cnblogs.com/dushao/p/5999563.html 先
阅读全文
摘要:// 数组去重合并 function hello(){ console.log("hello"); } function combine(){ return Array.from(new Set([].concat(...arguments))) } console.log(combine([1,2
阅读全文