結果 : javascript first n characters of string