W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <body> <script type="text/javascript"> var str = "Visit W3School"; var patt1 = new RegExp("S","i"); if(patt1.ignoreCase) { document.write("ignoreCase property is set"); } else { document.write("ignoreCase property is NOT set."); } </script> </body> </html>