The JavaScript Console provides two primary functions for developers testing web pages and applications: A place to log diagnostic information using methods provided by the Console API , such as console.log() , or console.profile() . A shell prompt where you can enter commands and interact with the document and the Chrome DevTools. You can evaluate expressions directly in the Console, and can also use the methods provided by the Command Line API , such as $() command for selecting elements, or profile() to start the CPU profiler.
Read full article from Using the Console - Google Chrome
No comments:
Post a Comment