結果 : javascript get first n letters of string