Skip to content

Commit

Permalink
console.exception does not exist in spec (mdn#1665)
Browse files Browse the repository at this point in the history
It's also missing in Safari and Microsoft Edge.
  • Loading branch information
simon04 authored Jan 24, 2021
1 parent fc87091 commit 0458332
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions files/en-us/web/api/console/error/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,8 @@ <h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">console.error(<em>obj1</em> [, <em>obj2</em>, ..., <em>objN</em>]);
console.error(<em>msg</em> [, <em>subst1</em>, ..., <em>substN</em>]);
console.exception(<em>obj1</em> [, <em>obj2</em>, ..., <em>objN</em>]);
console.exception(<em>msg</em> [, <em>subst1</em>, ..., <em>substN</em>]);
</pre>

<div class="note">
<p><strong>Note:</strong> <code>console.exception()</code> is an alias for
<code>console.error()</code>; they are functionally identical.</p>
</div>

<h3 id="Parameters">Parameters</h3>

<dl>
Expand Down Expand Up @@ -80,6 +73,6 @@ <h2 id="See_also">See also</h2>
<li><a href="https://msdn.microsoft.com/library/gg589530">MSDN: Using the F12 Tools
Console to View Errors and Status</a></li>
<li><a
href="https://developers.google.com/chrome-developer-tools/docs/console#errors_and_warnings">Chrome
href="https://developers.google.com/web/tools/chrome-devtools/console/api#error">Chrome
Developer Tools: Using the Console</a></li>
</ul>

0 comments on commit 0458332

Please sign in to comment.