varobj=function(){vara={publicMethod:function(){console.log("SelfFunction");}};console.log("Test");}();console.log(obj);//undefine??为什么这里是undefine?? 查看完整描述