首圖

javascript 裡面正規表示法其實蠻多元的,參考 ECMAScript 15.5.2 當中提到, ""When String is called as part of a new expression, it is a constructor: it initialises the newly created object. 原文網址 意謂著當S......