結果 : take first 3 characters of string javascript