結果 : javascript first n chars of string