摘要:
1 /** 2 * Created by Administrator on 2015/4/14. 3 */ 4 function Set() { 5 this.values = {}; 6 this.n = 0; 7 this.add.apply(this, argum... 阅读全文
摘要:
function classof(o){ return Object.prototype.toString.call(0).slice(8,-1);}Function.prototype.getName= function () { return this.name ||this.toStr... 阅读全文
摘要:
1 var arr=[1,[[[7,2],8,9],3]]; 2 function f(arr) { 3 if (Object.prototype.toString.call(arr) != "[object Array]") 4 return; 5... 阅读全文