結果 : javascript string compare first n characters