专栏名称: 前端大全
分享 Web 前端相关的技术文章、工具资源、精选课程、热点资讯
目录
相关文章推荐
前端早读课  ·  【第3444期】Chrome 131 ... ·  昨天  
前端早读课  ·  【第3443期】2025 ... ·  2 天前  
前端早读课  ·  【第3442期】Rolldown ... ·  3 天前  
51好读  ›  专栏  ›  前端大全

九个Console命令,让 JS 调试更简单

前端大全  · 公众号  · 前端  · 2017-07-07 16:30

正文

(点击上方公众号,可快速关注)


作者:dwqs

https://github.com/dwqs/blog/issues/32

如有好文章投稿,请点击 → 这里了解详情


一、显示信息的命令


    

    

        </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">常用console命令</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">        </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"><meta/><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">http-equiv</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"Content-Type"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">content</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/html; charset=utf-8"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"> /></span></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">        <span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">            </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">log</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">'hello'</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">           </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">info</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">'信息'</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">           </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">error</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">'错误'</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">           </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">warn</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">'警告'</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">   </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">  </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">最常用的就是console.log了。</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">二:占位符</strong></span></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">console上述的集中度支持printf的占位符格式,支持的占位符有:字符(%s)、整数(%d或%i)、浮点数(%f)和对象(%o)</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><blockquote style="max-width: 100%; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">            </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">log</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"%d年%d月%d日"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">2011</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">3</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">26</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">效果:</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><img class="" data-ratio="0.14201183431952663" referrerpolicy="no-referrer" data- referrerpolicy="no-referrer" src="http://mmbiz.qpic.cn/mmbiz_png/zPh0erYjkib2o5MiavHnnSW0xwNGEZ47JTuNE2BdtkEliciaflyTJ5R7biaeqyWhaR9Ww8icwj4KiaP7cvicJ0Fgx1Qs7w/640?wx_fmt=png" data-type="png" data-w="507" style="box-sizing: border-box !important; word-wrap: break-word !important; width: auto !important; visibility: visible !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">三、信息分组</strong></span></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><blockquote style="max-width: 100%; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; font-style: italic; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(102, 102, 102) !important;"/></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">        </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"><title/></span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">常用console命令</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">        </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"><meta/><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">http-equiv</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"Content-Type"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">content</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/html; charset=utf-8"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"> /></span></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">        <span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">            </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">group</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"第一组信息"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">log</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"第一组第一条:我的博客(http://www.ido321.com)"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">log</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"第一组第二条:CSDN(http://blog.csdn.net/u011043843)"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">groupEnd</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">();</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">   </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">group</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"第二组信息"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">log</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"第二组第一条:程序爱好者QQ群: 259280570"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">log</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"第二组第二条:欢迎你加入"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">   </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">groupEnd</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">();</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">   </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">   </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">效果:</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">四、查看对象的信息</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">console.dir()可以显示一个对象所有的属性和方法。</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><blockquote style="max-width: 100%; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">            </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">info</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> = </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">{</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">                </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">blog</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">:</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"http://www.ido321.com"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">                </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">QQGroup</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">:</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">259280570</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">                </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">message</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">:</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"程序爱好者欢迎你的加入"</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">            </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">};</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">            </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">dir</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">info</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">效果:</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">五、显示某个节点的内容</strong></span></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">console.dirxml()用来显示网页的某个节点(node)所包含的html/xml代码。</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><blockquote style="max-width: 100%; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; font-style: italic; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(102, 102, 102) !important;"/></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">        </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"><title/></span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">常用console命令</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">        </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"><meta/><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">http-equiv</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"Content-Type"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">content</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/html; charset=utf-8"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"> /></span></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">        </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"><div><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">id</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"info"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">></span><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">            </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"><h3/></span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">我的博客:www.ido321.com</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">           </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"><p/></span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">程序爱好者:259280570,欢迎你的加入</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">       </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">       <span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">           </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">info</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> = </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">document</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">getElementById</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">'info'</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">           </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">dirxml</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">info</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">   </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">   </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;"/></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">效果:</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">六、判断变量是否是真</strong></span></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">console.assert()用来判断一个表达式或变量是否为真。如果结果为否,则在控制台输出一条相应信息,并且抛出一个异常。</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><blockquote style="max-width: 100%; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">        </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">result</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> = </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">1</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">        </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">assert</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">result</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">        </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">year</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> = </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">2014</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">        </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">assert</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">year</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> == </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">2018</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">1是非0值,是真;而第二个判断是假,在控制台显示错误信息</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">七、追踪函数的调用轨迹。</strong></span></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">console.trace()用来追踪函数的调用轨迹。</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><blockquote style="max-width: 100%; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(153, 153, 153) !important; font-style: italic !important;">/*函数是如何被调用的,在其中加入console.trace()方法就可以了*/</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">function</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">add</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">a</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">b</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">            </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">trace</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">();</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">return</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">a</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">+</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">b</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">x</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> = </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">add3</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">1</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">1</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">function</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">add3</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">a</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">b</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">return</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">add2</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">a</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">b</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);}</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">function</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">add2</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">a</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">b</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">return</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">add1</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">a</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">b</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">   </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">function</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">add1</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">a</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">b</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">return</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">add</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">a</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">,</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">b</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">   </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">控制台输出信息:</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">八、计时功能</strong></span></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">console.time()和console.timeEnd(),用来显示代码的运行时间。</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><blockquote style="max-width: 100%; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">time</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"控制台计时器一"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">for</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">0</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"><</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">1000</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">++</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">for</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">j</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">0</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">j</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"><</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">1000</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">j</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">++</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">timeEnd</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"控制台计时器一"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">运行时间是38.84ms</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">九、console.profile()的性能分析</strong></span></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">性能分析(Profiler)就是分析程序各个部分的运行时间,找出瓶颈所在,使用的方法是console.profile()。</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><blockquote style="max-width: 100%; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"><script><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">type</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">"text/javascript"</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">></span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">        </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">function</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">All</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(){</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">                </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">alert</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">11</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">     </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">for</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">0</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"><</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">10</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">++</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">                    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">funcA</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">1000</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-1837452791782084" data-ad-slot="7041996284"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">                 </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">funcB</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">10000</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">    </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">function</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">funcA</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">count</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">for</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">0</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"><</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">count</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">++</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">function</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">funcB</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">count</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>    <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important;">for</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; color: rgb(128, 0, 128) !important;">var</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 153, 153) !important;">0</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;"><</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">count</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">;</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">i</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">++</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">){}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">}</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">  </span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">profile</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">(</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(221, 17, 68) !important;">'性能分析器'</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">);</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">All</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">();</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span>  <span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 45, 122) !important;">console</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">.</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: teal !important;">profileEnd</span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(51, 51, 51) !important;">();</span></span></p><p style="max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(0, 111, 224) !important;">       </span><span class="" style="max-width: 100%; border-width: 0px; border-style: initial; border-color: initial; font-family: inherit; height: inherit; box-sizing: border-box !important; word-wrap: break-word !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: rgb(255, 0, 0) !important;"></script></span></span></p></blockquote><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;">输出如图:</p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; line-height: 25.6px; text-align: center; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 169, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><p/></strong></span><span style="max-width: 100%; line-height: 25.6px; color: rgb(255, 169, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><p/></strong></span><strong style="max-width: 100%; line-height: 25.6px; color: rgb(255, 169, 0); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; line-height: 25.6px; box-sizing: border-box !important; word-wrap: break-word !important;"/></strong></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; line-height: 25.6px; text-align: center; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><img class="" data-ratio="0.17744916820702403" referrerpolicy="no-referrer" data- referrerpolicy="no-referrer" src="http://mmbiz.qpic.cn/mmbiz_png/zPh0erYjkib2o5MiavHnnSW0xwNGEZ47JTsYI6IPKuW0JibyrHoYTA2OTqYMgBjW9bODW0ricFDBLoQF2hNIYv5NlQ/640?wx_fmt=png" data-type="png" data-w="1082" style="box-sizing: border-box !important; word-wrap: break-word !important; width: auto !important; visibility: visible !important;"/></p><p style="white-space: normal; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 18px; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 15px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;"/></p><p style="white-space: normal; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 18px; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 14px; color: rgb(255, 169, 0); box-sizing: border-box !important; word-wrap: break-word !important;">觉得本文对你有帮助?请分享给更多人</span></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; line-height: 25.6px; text-align: center; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(255, 169, 0); box-sizing: border-box !important; word-wrap: break-word !important;">关注「前端大全」,提升前端技能</span></strong></p><p style="max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-size: 16px; white-space: normal; line-height: 25.6px; text-align: center; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;"><img class="" data-ratio="0.9166666666666666" referrerpolicy="no-referrer" data- referrerpolicy="no-referrer" src="http://mmbiz.qpic.cn/mmbiz_png/zPh0erYjkib0lZCEKibSLcyLMVa3iaNzhWkSPnEBk28r5AAcL4fS03LQn1RWA5M58d7kvysRCibKpHibjs1szyRmnOQ/640?wx_fmt=png" data-type="png" data-w="600" style="box-sizing: border-box !important; word-wrap: break-word !important; visibility: visible !important; width: auto !important;" width="auto"/></p> </div> </div> </div> </div> <div class="topic_buttons"> <div class="fr gray f11" style="line-height: 12px; padding-top: 3px; text-shadow: 0px 1px 0px #fff;"> </div> </div> </div> <div class="sep5"></div> <div class="box"> <div class="cell"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- jintian_wenzhi --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-1837452791782084" data-ad-slot="8042312523" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <div class="sep5"></div> <div class="sep10"></div> <div class="box"> <div class="cell"> <span class="gray">推荐文章</span> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>浔阳市监</span>  ·  <a href="/t/RTQ0SX!hYkFrOA==">分局动态|浔阳区市场监管局金鸡坡分局开展液化气罐使用专项检查</a> </span> <div class="sep5"></div> <span class="fade">22 小时前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>浔阳市监</span>  ·  <a href="/t/RTQ0SX!hYkFrOA==">分局动态|浔阳区市场监管局金鸡坡分局开展液化气罐使用专项检查</a> </span> <div class="sep5"></div> <span class="fade">22 小时前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="http://img2.jintiankansha.me/get?src=http://mmbiz.qpic.cn/sz_mmbiz_jpg/meG6Vo0MeviaRIrC9ib8Wbyk3ZrOONTpFLkcSsrPjDVVoevd2whicRTCOSIliaGgvDibwLS0jhibehA31E4eBfFRQTMA/0?wx_fmt=jpeg" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>前端早读课</span>  ·  <a href="/t/SWFXQ2ZoTXQwOA==">【第3444期】Chrome 131 开发者工具的新变化</a> </span> <div class="sep5"></div> <span class="fade">昨天</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="http://img2.jintiankansha.me/get?src=http://mmbiz.qpic.cn/sz_mmbiz_jpg/meG6Vo0MevhNLxXq2NdQIge9BusHWibn2TZlpS1hrEqawzQUibqnJ8ic2hS6urUasgUpq0ZHZppOpaF14HptArWYg/0?wx_fmt=jpeg" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>前端早读课</span>  ·  <a href="/t/Vn!jRU03SHk4Yg==">【第3443期】2025 年前端开发工程师必备的 Docker Compose 全栈项目实践</a> </span> <div class="sep5"></div> <span class="fade">2 天前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="http://img2.jintiankansha.me/get?src=http://mmbiz.qpic.cn/sz_mmbiz_jpg/meG6Vo0Mevj1FzY0y8kibLX1hEVrGicUia40qEjCYRvPJTAR5dHDuad9IaEsmyuxgX5TuysT3oKrLEZSkV9fl2aJA/0?wx_fmt=jpeg" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>前端早读课</span>  ·  <a href="/t/!1lXaGZBeDNwbA==">【第3442期】Rolldown 1.0.0-beta.1 发布,为什么仍然需要打包工具?</a> </span> <div class="sep5"></div> <span class="fade">3 天前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>云峰早点报</span>  ·  <a href="/t/ZUhUNjhmSnMwag==">各地蛇年吉祥物纷纷亮相!广州“媚眼蛇”被调侃丑到没人合照</a> </span> <div class="sep5"></div> <span class="fade">3 天前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>云峰早点报</span>  ·  <a href="/t/ZUhUNjhmSnMwag==">各地蛇年吉祥物纷纷亮相!广州“媚眼蛇”被调侃丑到没人合照</a> </span> <div class="sep5"></div> <span class="fade">3 天前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="http://img2.jintiankansha.me/get?src=http://mmbiz.qpic.cn/mmbiz_jpg/sibYI6xhoIFTYP469jSeBT3Vp4N7HLcB7SCrALLnpeP9GtrdtqSJ5vRZXZVOEX0B7jhT4hbbtA5JEyQbhO8srhg/0?wx_fmt=jpeg" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>相约新会</span>  ·  <a href="/t/RU!rYUx3VDVjUg==">【惊险】就在古井长乐路段,一辆客车失控冲出路面,结果……</a> </span> <div class="sep5"></div> <span class="fade">7 年前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="http://img2.jintiankansha.me/get?src=http://mmbiz.qpic.cn/mmbiz_jpg/xDRm9quQ9Fc2N0rmoVNqV6f94mkCyDNNVZzJurZKXYG1JfA2F1VjHNModSdtgQ7UDaJcgqkNL1ZIsiaMaGTJ7zA/0?wx_fmt=jpeg" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>食尚知味</span>  ·  <a href="/t/a3p2ejFBNjJraQ==">谁家里有这种一角钱?可以买一台车啦!</a> </span> <div class="sep5"></div> <span class="fade">7 年前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="http://img2.jintiankansha.me/get?src=http://mmbiz.qpic.cn/mmbiz_jpg/b2YlTLuGbKCib98m2HNKib0EceUFjB2ibicJ75BLY4NSicP64iaWd8oqg1xoyyiabCQ0A6K0bVeKeNNibVhvLicXbk6NDAw/0?wx_fmt=jpeg" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>虎嗅APP</span>  ·  <a href="/t/TDJpYU5pbmRBMw==">创业三年,他瘦掉25斤并裁掉一半员工</a> </span> <div class="sep5"></div> <span class="fade">7 年前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="http://img2.jintiankansha.me/get?src=http://mmbiz.qpic.cn/mmbiz_jpg/hHCgRL19ZjS4r0Wc6cLeLKeF8HDNDsjYXJAOYdichBicicJXSsfFibVv3giaMBwoOvrqaLhPuPRnd2V6lTNJJQ38tlQ/0?wx_fmt=jpeg" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>健康圈</span>  ·  <a href="/t/VlE5RF!sNnNXbw==">盲目排毒会增加肠癌风险,每个家庭都要警醒了</a> </span> <div class="sep5"></div> <span class="fade">7 年前</span> </td> </tr> </tbody> </table> </div> <div class="cell"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="32" valign="top" align="center"> <img src="http://img2.jintiankansha.me/get?src=http://mmbiz.qpic.cn/mmbiz_jpg/2viaV1lTFIy9ykP3spurUZAib4YzsUW6gbibzgeUsbmPXNen1PQok2ITHBrKhOhTxaK9Gt7xfibAfN8mdww616R39A/640?wx_fmt=jpeg" referrerpolicy="no-referrer" class="avatar" style="max-width: 32px; max-height: 32px;" border="0" align="default"> </td> <td width="10" valign="top"></td> <td width="auto" valign="top" align="left"> <span class="item_hot_topic_title"> <span>历史震惊你</span>  ·  <a href="/t/RjluS0Q0ZWF6NA==">中国天价写实油画,大开眼界!</a> </span> <div class="sep5"></div> <span class="fade">7 年前</span> </td> </tr> </tbody> </table> </div> </div> <div class="sep5"></div> <div class="box"> <div class="cell"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- jintian_wenzhi --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-1837452791782084" data-ad-slot="8042312523" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <div class="sep5"></div> </div> </div> <div class="c"></div> <div class="sep20"></div> </div> <div id="Bottom"> <div class="content footer"> <div class="inner"> <div class="sep10"></div> <div class="fr"> </div> <strong> <a href="http://www.sov5.org" class="dark" target="_blank">Sov5搜索</a>   <span class="snow">·</span>   <a href="http://baike.sov5.org" class="dark" target="_blank">小百科</a>   <span class="snow">·</span>   <a class="go-mobile" href="javascript:;">移动版</a> </strong> <div class="sep20"></div> 51好读 - 好文章就要读起来! </div> </div> </div> <script type="text/javascript" src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/highlight.js/9.2.0/highlight.min.js"></script> <script type="text/javascript" src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/1.11.0/jquery.min.js"></script> <script type="text/javascript" src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/jqueryui/1.9.2/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/js/vendors/jquery/jquery.autosize.js?v=ac4d62e3842f55aa2b78d2c2ef1af833"></script> <script type="text/javascript" src="/static/js/vendors/lscache/lscache.min.js?v=bf403ab76d287d394375662defac76c3"></script> <script type="text/javascript" src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/select2/3.0.0/select2.min.js"></script> <script type="text/javascript" src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery.selectboxit/3.8.0/jquery.selectBoxIt.min.js"></script> <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery.textcomplete/0.3.3/jquery.textcomplete.min.js" type="text/javascript"></script> <script type="text/javascript" src="/static/js/site/base/common.js?v=97646d06e4a04b2bf43b7b467cfd321e"></script> <script type="text/javascript" src="/static/js/site/base/v2ex.js?v=d41d8cd98f00b204e9800998ecf8427e"></script> <script type="text/javascript" src="/static/js/site/base/base.js?v=edcfd5298fe2acdc62d7fb498c373f99"></script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-0SBZ564CXS"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-0SBZ564CXS'); </script> <script> var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?55a854de13a9633b2937a3c24817fc7b"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> (function () { var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <!-- 多条广告如下脚本只需引入一次 --> <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer"> </script> <script type="text/javascript" src="/static/js/site/post/post.js?v=e7935b685b5f2aef4de680492fd620cf"></script> <script type="text/javascript"> jQuery.browser = {}; (function () { jQuery.browser.msie = false; jQuery.browser.version = 0; if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { jQuery.browser.msie = true; jQuery.browser.version = RegExp.$1; } })(); </script> <script type="text/javascript" src="/static/js/site/post/post_common.js?v=15968870dc6780d5664012d59b217894"></script> <script type="text/javascript" src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery-hashchange/1.3/jquery.ba-hashchange.min.js"></script> <script type="text/javascript" src="/static/js/site/post/post_folder.js?v=d3abab84fa5b19533d2131bf98e690f7"></script> </body> </html>