diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/statements/debugger/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/statements/debugger/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/statements/debugger/index.html b/files/zh-cn/web/javascript/reference/statements/debugger/index.html index 2a54579002..0018dc056c 100644 --- a/files/zh-cn/web/javascript/reference/statements/debugger/index.html +++ b/files/zh-cn/web/javascript/reference/statements/debugger/index.html @@ -12,14 +12,14 @@ translation_of: Web/JavaScript/Reference/Statements/debugger <h2 id="语法">语法</h2> -<pre class="syntaxbox" style="font-size: 14px; white-space: normal;"><code>debugger;</code> +<pre class="syntaxbox"><code>debugger;</code> </pre> <h2 id="示例">示例</h2> <p>下面的例子演示了一个包含 debugger 语句的函数,当函数被调用时,会尝试调用一个可用的调试器进行调试。</p> -<pre class="brush:js language-js" style="padding: 1em 0px 1em 30px; font-size: 14px; white-space: normal; color: rgb(77, 78, 83);"><code class="language-js" style="direction: ltr; white-space: pre;">function potentiallyBuggyCode() { +<pre class="brush:js language-js"><code class="language-js">function potentiallyBuggyCode() { debugger; // do potentially buggy stuff to examine, step through, etc. }</code></pre> |