"JavaScript advanced Programming" reading notes

Source: Internet
Author: User

Chapter II

1 <script type= "text/javascript" Async defer src= "" ></script> defer: Delay script until the document is fully parsed and displayed before execution, but download now, preferably with only one. Async: Indicates that the script should be downloaded immediately, but should not interfere with other actions on the page, and is not guaranteed to be executed in the order in which they were specified, and the asynchronous script must be executed before the page's Load event

2 Browser parsing: The rest of the page will not be loaded or displayed by the browser until all code inside the <script> element is evaluated by the interpreter. When parsing an external JavaScript file (including downloading the file), the processing of the page is temporarily stopped. The browser only starts rendering content when it encounters a <body> tag

Chapter III

1 everything in ECMAScript (variables, function names, and operators) is case-sensitive

"JavaScript advanced Programming" reading notes

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.