Using slice() The easiest way to remove the last character of a string in JavaScript is by using slice method.
確定! 回上一頁