<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                函數執行的時候,this,誰調用的,this就指向誰,默認是window 題目一: ```js function a() { function b() { console.log(this); // 未指明調用的對象,因此是 window function c() { "use strict" console.log(this); // 嚴格模式 this 為 undefined } c() } b() } a() ``` 題目二: ```js var name = '小白' function special() { console.log('姓名:' + this.name); } var girl = { name: '小紅', detail: function() { console.log('姓名:' + this.name); }, woman: { name: '小黃', detail: function() { console.log('姓名:' + this.name); } }, special } girl.detail() // 小紅 girl.woman.detail() // 小黃 girl.special() // 小紅 ``` 題目三: ```js var name = '小紅' function a() { var name = '小白' console.log(this.name); } function d(i) { return i() } var b = { name: '小黃', detail: function() { console.log(this.name); }, bibi: function() { return function() { console.log(this.name); } } } var c = b.detail b.a = a var e = b.bibi() a(); // 小紅 c() // 小紅 b.a() // 小黃 d(b.detail) // 紅 e() // 紅 ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看