我为我的应用程序使用jQuery,我有一个包含字符串项的数组:
var array = ["item","item1","item2","item3"]
如何测试数组是否包含"item"?
javascript jquery
javascript ×1
jquery ×1