結果 : take first character of string javascript