Javascript- Matching values from array to substring of variable

后端 未结 3 1169
日久生厌
日久生厌 2021-01-26 01:05

I\'m trying to match values from an array to a variable string. So if, for example, I have an array and a variable :

var array = [\'Potato\', \'Cheese\', \'Bikin         


        
3条回答
提交回复
热议问题