--- title: Console.groupEnd() slug: Web/API/Console/groupEnd translation_of: Web/API/Console/groupEnd --- <p>{{APIRef("Console API")}}</p> <p>在 <a href="/en-US/docs/Tools/Web_Console">Web控制台</a>中退出一格缩进(结束分组). 请参阅 {{domxref("console")}} 中的<a href="/en-US/docs/Web/API/console#Using_groups_in_the_console">Using groups in the console</a> 来获取它的用法和示例.</p> <p>{{AvailableInWorkers}}</p> <h2 id="语法">语法</h2> <pre class="syntaxbox">console.groupEnd(); </pre> <h2 id="参数">参数</h2> <p>None.</p> <h2 id="Specifications">Specifications</h2> <table class="standard-table"> <thead> <tr> <th scope="col">Specification</th> <th scope="col">Status</th> <th scope="col">Comment</th> </tr> </thead> <tbody> <tr> <td>{{SpecName("Console API", "#groupend", "console.groupEnd()")}}</td> <td>{{Spec2("Console API")}}</td> <td>Initial definition</td> </tr> </tbody> </table> <h2 id="浏览器兼容性">浏览器兼容性</h2> {{Compat("api.console.groupEnd")}} <h2 id="See_also">See also</h2> <ul> <li><a class="external" href="http://www.opera.com/dragonfly/documentation/console/">Opera Dragonfly documentation: Console</a></li> </ul>