function add(a) {
var temp = function(b) {
return add(a + b);}
temp.valueOf = temp.toString
js多重闭包与内置类型转化
![](https://img-home.csdnimg.cn/images/20240711042549.png)
function add(a) {
var temp = function(b) {
return add(a + b);}
temp.valueOf = temp.toString