結果 : check if char is digit javascript