The console object is the native object of JavaScript, a bit like the standard output stdout and standard error stderr of UNIX systems, which can output a variety of information to debug a program, and also provides a number of additional methods
Details of the Chrome console consoleLet's take a look at how to open the browser console before you go into detail.To open Google Developer tools, there are three ways
Ctrl+shift+i
F12
In the Web page, right click on "Review
Javascript learning notes (2) array and object section, javascript learning notes
Javascript Object Section
I. Basics
1. All variables in JavaScript are objects, except for null and undefined.
2. Jscript supports four types of objects: internal
The most common debugging tool for JavaScript is Console.info (). The console is one of the properties of the Window object in the browser, provided by the browser object Model (BOM) to access the browser console, where you can output strings,
Read Catalogue
Write in front
Google console elements panel
See what the elements are bound to
Style actions
General Conditions
Console.log
Console.info
Console.error
Console.warn
Console.debug
Tips for debugging console. log in JavaScript,
Preface
For JavaScript program debugging, compared with alert (),console.log()Is a better way, because:alert()Functions block the execution of JavaScript programs and cause side effects;
In the alert
Read Catalogue
Write in front
Google console elements panel
See what the elements are bound to
Style actions
General Conditions
Console.log
Console.info
Console.error
Console.warn
Console.debug
Original: Using JavaScript in Swift projects:building a Markdown to HTML Editor
GABRIEL Theodoropoulos
Translated by: Kmyhy
Always wanted to write an essay. about how Swift and Javascript are combined to build powerful apps that support
For front-end developers, when it is necessary to monitor the value of certain expressions or variables during development, it can be cumbersome to use debugger, instead of outputting values to the console for easy debugging. The most commonly used
The things that every JavaScript developer should know2015-06-07 front-end Daquan(Click the blue Word above to quickly follow us)JavaScript is a growing language, especially now that the ECMAScript specification is published on an annual release
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.