varmyObject={ foo:"bar", func:function(){varself=this; consolelog(thisfoo); consolelog(selffoo); (function(){ consolelog(thisfoo); consolelog(selffoo); }()); } }; myObjectfunc(); 程序的输出是什么?

发布于 2021-07-18 23:38:41
【单选题】
A bar bar bar bar
B bar bar bar undefined
C bar bar undefined bar
D undefined bar undefined bar

查看更多

关注者
0
被浏览
119
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服