<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ~~~ /* * 兩個值的比較: * == 左右兩邊數據類型不一致,先默認轉換為一致的,在進行比較 * === * Object.is */ /* * 基于==進行比較的時候,左右兩邊數據類型不一致,隱式轉換規則 * NaN==NaN =>false NaN和任何值(包含自己本身)都不相等 * Infinity==Infinity =>true Infinity只和自己相等,和其它值都不相等 * Symbol(1) == Symbol(1) =>false * 對象 == 對象 比較的是內存地址 * * null==undefined =>true null和undefined兩個等號比較是相等的,三個等號比較是不相等的,除此之外,他們和任何值相比較都不相等 * 對象==字符串 對象轉換為字符串 * * 除上述規則外,其余的都是把值轉換為數字類型,然后再比較 */ console.log([10] == '10'); //=>'10'=='10' true console.log({} == '{}'); //=>'[object Object]'=='{}' false console.log(1 == true); //=>1==1 true console.log(2 == true); //=>2==1 false console.log(-1 == false); //=>-1==0 false console.log(0 == false); //=>0==0 true console.log(1 == '1'); //=>1==1 true console.log(true == '1'); //=>1==1 true console.log(false == ''); //=>0==0 true console.log( [] == 0 ); //=>0==0 true console.log( "0" == 0 ) // 0 ==0 true console.log( "0" == [] ) // "0" == "" false 對象轉為字符串"" ~~~ ![](https://img.kancloud.cn/40/f1/40f1490dd6f8c06476a6b335050263ed_317x236.png) ![](https://img.kancloud.cn/f9/75/f9755cf17e93ceb61c6ca6159da1f946_351x216.png) ![](https://img.kancloud.cn/6e/e2/6ee23ab8ecb96431aa717ebfb4c5b077_387x143.png) ![](https://img.kancloud.cn/d9/e0/d9e0d40b98baec234b929d1226caec21_287x99.png) ![](https://img.kancloud.cn/09/aa/09aa99ac023be04b7110ef077799791e_250x45.png)
                  <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>

                              哎呀哎呀视频在线观看