JavaScript notes (2)

Source: Internet
Author: User

Some basic concepts

1. Json-javascript Object Representation method (JavaScript object Notation)

2. bom-Browser object Model (Browser)

3. dom-Document Object Model

4, REGEXP (mainly for regular expressions)

Need to be familiar with understanding

  

1. JavaScript apps can save the value of a form element in a variable and then access the value through a variable without having to get it from the form element each time.

2. The data type of the variable is the type resolution of the data stored in the variable by the JavaScript footstep engine.

3. In an application, the same variables can hold different types of data. (Loose type or dynamic type)

4, in general, the first letter of the variable name should not be capitalized, because the initial capitalization is usually used to denote the object.

5, for the function name and variable name, usually the first letter is lowercase, and the function name in the form of a verb, it is easier to understand function by the function names function.

6, encapsulation usually refers to the wrapper data item, such as String object encapsulates the string primitive type.

JavaScript notes (2)

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.