Array.prototype.contain = function(val)
{
for (var i = 0; i < this.length; i++)
{
if (this[i] == val)
{
return true;
}
}
return false;
};
原文链接:https://blog.csdn.net/weixin_37757097/article/details/78502789
08-25
13万+
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交