String.prototype.includes(). ES6 提供了includes() 方法,你可以使用它來判斷字串是否包含在其他字串:. 'something'.includes('thing'); // true.
確定! 回上一頁