ifteststring if test 怎么讓js中的if條件是等于一個字符串的?例如,indexof()方法,注意O是大寫的。var test=“這是一個測試”如果(測試索引(“test”)!=-1){//... 2021-03-11 2776次瀏覽