How to check if a string contains a substring in JavaScript? · Option 1: Use the includes Method (ECMAScript 6) · Option 2: Use the indexOf Method (ECMAScript 5 ...
確定! 回上一頁