Given that strings are immutable in JavaScript, replace returns a new string. You can use $& in the replacement string to include the match: let myStr = 'My ...
確定! 回上一頁