結果 : access last character of string javascript