* Skip to main content 
  * Skip to search 
  * Skip to select language 

[ MDN Web Docs  ](/en-US/) Open main menu

  * References  [ References ](/en-US/docs/Web)
    * [ Overview / Web Technology  Web technology reference for developers  ](/en-US/docs/Web)
    * [ HTML  Structure of content on the web  ](/en-US/docs/Web/HTML)
    * [ CSS  Code used to describe document style  ](/en-US/docs/Web/CSS)
    * [ JavaScript  General-purpose scripting language  ](/en-US/docs/Web/JavaScript)
    * [ HTTP  Protocol for transmitting web resources  ](/en-US/docs/Web/HTTP)
    * [ Web APIs  Interfaces for building web applications  ](/en-US/docs/Web/API)
    * [ Web Extensions  Developing extensions for web browsers  ](/en-US/docs/Mozilla/Add-ons/WebExtensions)
    * [ Web Technology  Web technology reference for developers  ](/en-US/docs/Web)
  * Guides  [ Guides ](/en-US/docs/Learn)
    * [ Overview / MDN Learning Area  Learn web development  ](/en-US/docs/Learn)
    * [ MDN Learning Area  Learn web development  ](/en-US/docs/Learn)
    * [ HTML  Learn to structure web content with HTML  ](/en-US/docs/Learn/HTML)
    * [ CSS  Learn to style content using CSS  ](/en-US/docs/Learn/CSS)
    * [ JavaScript  Learn to run scripts in the browser  ](/en-US/docs/Learn/JavaScript)
    * [ Accessibility  Learn to make the web accessible to all  ](/en-US/docs/Web/Accessibility)
  * Plus  [ Plus ](/en-US/plus)
    * [ Overview  A customized MDN experience  ](/en-US/plus)
    * [ AI Help (beta)  Get real-time assistance and support  ](/en-US/plus/ai-help)
    * [ Updates  All browser compatibility updates at a glance  ](/en-US/plus/updates)
    * [ Documentation  Learn how to use MDN Plus  ](/en-US/plus/docs/features/overview)
    * [ FAQ  Frequently asked questions about MDN Plus  ](/en-US/plus/docs/faq)
  * [ Curriculum  New  ](/en-US/curriculum/)
  * [ Blog ](/en-US/blog/)
  * [ Play ](/en-US/play)
  * [ AI Help  Beta  ](/en-US/plus/ai-help)

Search MDN  Clear search input  Search

Theme

  * [ Log in ](/users/fxa/login/authenticate/?next=%2Fen-US%2Fdocs%2FWeb%2FAPI%2Fconsole%2Ferror_static)
  * [ Sign up for free  ](/users/fxa/login/authenticate/?next=%2Fen-US%2Fdocs%2FWeb%2FAPI%2Fconsole%2Ferror_static)

  1. [ References  ](/en-US/docs/Web)
  2. [ Web APIs  ](/en-US/docs/Web/API)
  3. [ console  ](/en-US/docs/Web/API/console)
  4. [ error()  ](/en-US/docs/Web/API/console/error_static)

Article Actions

  * English (US) 

Filter sidebar  Clear filter input

##  In this article

  * Syntax 
  * Specifications 
  * Browser compatibility 
  * See also 

  1. **[ Console API ](/en-US/docs/Web/API/Console_API) **
  2. **[ ` Console ` ](/en-US/docs/Web/API/console) **
  3. Instance methods 
    1. [ ` assert() ` ](/en-US/docs/Web/API/console/assert_static)
    2. [ ` clear() ` ](/en-US/docs/Web/API/console/clear_static)
    3. [ ` count() ` ](/en-US/docs/Web/API/console/count_static)
    4. [ ` countReset() ` ](/en-US/docs/Web/API/console/countreset_static)
    5. [ ` debug() ` ](/en-US/docs/Web/API/console/debug_static)
    6. [ ` dir() ` ](/en-US/docs/Web/API/console/dir_static)
    7. [ ` dirxml() ` ](/en-US/docs/Web/API/console/dirxml_static)
    8. _` error() ` _
    9. [ ` group() ` ](/en-US/docs/Web/API/console/group_static)
    10. [ ` groupCollapsed() ` ](/en-US/docs/Web/API/console/groupcollapsed_static)
    11. [ ` groupEnd() ` ](/en-US/docs/Web/API/console/groupend_static)
    12. [ ` info() ` ](/en-US/docs/Web/API/console/info_static)
    13. [ ` log() ` ](/en-US/docs/Web/API/console/log_static)
    14. [ ` profile() ` ](/en-US/docs/Web/API/console/profile_static) Non-standard 
    15. [ ` profileEnd() ` ](/en-US/docs/Web/API/console/profileend_static) Non-standard 
    16. [ ` table() ` ](/en-US/docs/Web/API/console/table_static)
    17. [ ` time() ` ](/en-US/docs/Web/API/console/time_static)
    18. [ ` timeEnd() ` ](/en-US/docs/Web/API/console/timeend_static)
    19. [ ` timeLog() ` ](/en-US/docs/Web/API/console/timelog_static)