function _parent(info){ var a = info.x,b = info.y; var callMe = info.callMe; var sum = a+b; if(sum == 10){ callMe;alert("!!!"); } } window.onload = function(){ _parent({ x:5, y:5, callMe:function(){ console.log("ture!@#");alert("success"); } }); }为什么callMe没有执行啊...也没有alert("success").
添加回答
举报
0/150
提交
取消