title: Fastest way to check a string contain another substring in JavaScript?
body: <p>I'm working with a performance issue on JavaScript. So I just want to ask: what is the fastest way to check whether a string contains another substring (I just need the boolean value)? Could you please suggest your idea and sample snippet code?</p>