<script?type="text/javascript">
var?str?=?"Visit?W3School";
var?patt1?=?new?RegExp("W3School");
var?result=patt1.test(str);
document.write("Result:"+result);
</script>
大神這里的“var patt1 = new RegExp("W3School");”代碼是什么意思?
qq_感受時(shí)光的匆匆流失_0
2017-06-15 14:57:21