結果 : get first 10 characters of string javascript