Javascript learning 6-javascript object-oriented (practice) production and debugging logs
Source: Internet
Author: User
Generally, when javascript looks at the effect, alert functions are often used. Imagine if we want to see how many objects there are under the document, we may write the code like this: [javascript] for (iindocument ){... syntaxHighlighter. all (); generally, when javascript looks at the effect, alert functions are often used. Imagine if we want to see how many objects there are under the document, then we may write this code: [javascript] for (I in document) {alert (I);} but there are more than one hundred objects in the document, so we need to click more than one hundred times in the browser to see the whole. Therefore, we will make a simple log debugging, which is also a consolidation of our previous learning knowledge. The Calling page is as follows: [html] Untitled document
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service