indexOf , which returns -1 when a substring cannot be found: var string = "foo"; var substring = "oo"; console.log(string.indexOf(substring) !==
確定! 回上一頁