This function receives as input a string which may contain letters, digits or special symbols.The function should return the sum of adding the digits in the string. An example addDigitsInString('a12bcd3') should return 6
添加回答
举报
0/150
提交
取消