結果 : select last character of string javascript