JavaScriptで文字列が含まれるかどうかの判別方法はいくつかがあります!(6個) (ES6) String.prototype.includes var string = "foo", substring = "o […]