//add in_array function
Array.prototype.S = String.fromCharCode(2);
Array.prototype.in_array = function(e) {
var r = new RegExp(this.S+e+this.S);
return (r.test(this.S+this.join(this.S)+this.S));
};
给js添加 in_array 方法
最新推荐文章于 2022-10-25 22:12:38 发布