摘要:// 方法1:Array.prototype.contains = function (obj) { var i = this.length; while (i--) { if (this[i] obj) { return true; } } return false;};使用:arr.contai
阅读全文
posted @ 2016-10-10 15:13
posted @ 2016-10-10 15:13