JavaScript Learning Summary

Source: Internet
Author: User

                 The beef brisket is used when you modify the news category directly on the page.JSfile, which was also due to the use of multipleJSthe error occurred because the file was in a different order of reference, and the understandingJScan be used toverify data destined for the server,is a file that encapsulates some function for external reference. After studying the beef brisket and Jiang HaoJSafter the video, realize thatJSis the object-and event-driven client scripting language,often used to add dynamic functionality to HTML pages. The scripting language does not need to compile, usually has the corresponding scripting engine to interpret the execution, when the script executes, it is by an interpreter of the system, the translation of its strips into machine-readable instructions, and executed in the order of the program. Because the script executes more than a translation process, it is less efficient than a binary program. It also does not need to run in a language environment, but only supports its browser. This isJSLearning Summary:


in the JS in the study, the beef brisket is mainly explained JS Basic part, including JS schemas, data types, variables, expressions, operators, functions, and three major structures, which are explained here, JS the variable is loosely typed and is only used to save a particular name at a specific time; Finally, the regular expression is studied, and the input data of the client is verified, which can save a lot of system resources on the server side.

Jiang Hao Video mainly learn how to build your ownJScode Base,JSFAQs, Object-oriented andDOMknowledge. Common problems remind us that sometimes we may be stuck for hours with small problems. JS Object-oriented seems to have many different points, it is a prototype-based object-oriented, we create each function has a prototype attribute, the advantage of using the prototype can let all the object instances share the properties and methods it contains, that is, do not define the object information in the constructor function, Instead, you can add these object information directly to the prototype. ThroughJSyou can refactor the entireHTMLdocument, and to change something on the page,JSyou need to get theHTMLthe entry for all elements in the document to be accessed. This entrance, together with theHTMLelements to add, move, change, or Remove methods and properties areDOMto obtain. There are also do not understand such as closures, prototype chain, and so on, I hope in the back of learning to continue to add.

JavaScript Learning Summary

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.