結果 : how to check string ends with in javascript