Test if array contains specific substring

前端 未结 0 1224
时光取名叫无心
时光取名叫无心 2021-01-15 17:16

I\'m trying to test if an array contains a specific substring, but I can only get a match if the substring = array value

This is my test code:

var test         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题