Array.prototype.contains = function (obj) { return this.indexOf(obj) >= 0 } 複製代碼
問:上面的代碼有什麼問題嗎?ui
沒想出答案,你們看看呢?this