哈希= window.location.hash.substr(1); var reg = new RegExp('^ [0-9] $'); console.log(reg.test(hash));我在“ 123”和“ 123f”上都得到了錯誤。
確定! 回上一頁