trimEnd in older versions of JS, and then refactor the code to use .trimEnd to achieve an even better result with less complexity.
確定! 回上一頁