摘要:
1 Object.prototype.equals = function(obj) { 2 if (this == obj) 3 return true; 4 if (typeof(obj) == "undefined" || obj == null || typeof(obj) != "object") 5 return false; 6 var length = 0; 7 var length1 = 0; 8 for (var ele in this) { 9 ... 阅读全文