“`” 参考回答: <pre><code>var a=11; function test2(){ this.a=22; let b=()=>{console.log(this.a)} b(); } var x=new test2(); </code></pre> //输出22 定义时绑定。 <pre><code> "“` Was this helpful? YesNo 0 / 0 上一篇: js如何判断类型? 下一篇: 简单实现Node的Events模块? 发表回复 取消回复0 Your email address will not be published. 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。