专题文章
时长:00:00更新时间:2020-11-27 21:02:22
javascript题目,重写函数让其无限相加_javascript技巧:function add(x) {________}; alert(add(2)(3)(4)); //填空,使结果为9 解法一, 代码如下: //貘大 function add(x) { var c = 0; return function(x) { c = c + x ; arguments.callee.toString = func
查看详情