You can do it like this: const variavel = ['leisure', 'pool', 'Grill']; const recebe = ' need to know about leisure ?'; const result = variavel.some(item ...
確定! 回上一頁