var array = ['a', 'b'];
array.contains('a'); //返回true
本文标题:数组的contains()方法
本文链接:https://www.haomeiwen.com/subject/icbaoqtx.html
网友评论