How to check whether a string contains a substring in JavaScript?

preview_player
Показать описание
#javascript
#string
#substring
What is a reasonable way to check for this?
Рекомендации по теме