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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                [TOC] ## 1. js的內置對象 > 對象有 Array , object , Function , Data , Math ,Error , regpx ### 1.1 Math ``` /* Math.ceil 上取整 Math.floor 下取整 Math.round 四舍五入取整 Math.random() 0<=randow<1; */ console.log(Math.ceil(3.4)); console.log(Math.floor(3.4)); console.log(Math.round(3.4)); console.log(Math.random()); console.log(Math.max(1,2,3)) ``` ### 1.2 Date 時間 ``` var oDate = new Date(); var year = oDate.getFullYear(); var month = oDate.getMonth()+1; var date = oDate.getDate(); var hour = oDate.getHours(); var minute = oDate.getMinutes(); var second =oDate.getSeconds(); var min = oDate.getMilliseconds(); var day = oDate.getDay(); ``` ## 2. 解構賦值 ``` var arr = [1,2,3] //es6的解構賦值 左右要相同 var [a,b,c]=arr; console.log(a); console.log(c); //對象 var [a,b,c]=arr; var obj = { name:"ding", age:20 } var {name ,age}= obj; console.log(name); console.log(age); ```
                  <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>

                              哎呀哎呀视频在线观看