The `replaceAll` method returns a new string with all of the matches replaced by the ... const str = 'a b c'; const spacesReplaced = str.
確定! 回上一頁