結果 : sum of digits in a number javascript