![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
对作用域上下文和 this 的理解,下列代码结果是()var User = {count: 1,getCount: function(){return this.count;}};console.log(User.getCount()); //whatvar func = User.getCount;console.log(func()); // what
A.1 undefined
B.1 1
C.undefined 1
D.undefined undefined
![](https://static.youtibao.com/asksite/comm/h5/images/m_q_a.png)
A、1 undefined
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)