結果 : last char of string in javascript