functionbigNumSum (s, t) { let a = s.split(''), b = t.split(''); let len = Math.max(a.length, b.length); let res = []; //最终结果 let flag = false; // 判断是否有进位 for (let i = 0; i < len; i++) { let num1 = a.pop(), num2 = b.pop(); num1 = num1 ? parseInt(num1) : 0; num2 = num2 ? parseInt(num2) : 0; let tempSum; //暂时记录两数相加