test、exec、match的簡單區別1、testtest 返回Boolean,查詢對應的字串中是否存在模式。 var str = "1a1b1c"; var reg = new RegExp("1.
確定! 回上一頁