結果 : check if character is capital javascript