JavaScript 預設沒有contain 的方法。如果要檢查字串或是陣列內是否有子字串的存在你可以這樣做:. var someText = 'javascript rules'; if (someText ...
確定! 回上一頁