一道面试题-前端

Array.prototype.contains = function (obj) {
	return this.indexOf(obj) >= 0
}
复制代码

问:上面的代码有什么问题吗?ui

没想出答案,你们看看呢?this

相关文章
相关标签/搜索