摘要:
//第三种方法加强版 Array.prototype.distinct=function(){ var sameObj=function(a,b){ var tag = true; if(!a||!b)return false; for(var x in a){ if(!b[x]) return f... 阅读全文
摘要:
一.引入两个文件1.macco.js(function ($) { var macco = { debug: true, // arguments : all // console.log log: function () { var a = window.console, b = argument... 阅读全文