This works for removing the last character, but beware if you want to remove a variable number of characters; .slice(0, -0) will return an empty string! – Nigel ...
確定! 回上一頁