結果 : get first digit of int javascript