JavaScript authoritative Guide chapter II-lexical structure-the Book of Reading

Source: Internet
Author: User

1.JavaScript is written in the Unicode character set. The Unicode character set is intended for cross-language, cross-platform communication, which corresponds to one by one of all used text symbols to the computer's binary.

2.JavaScript is case-sensitive. HTML is case-insensitive. A special example of this is that the onclick event written in the HTML tag can be written as an onclick, and can only be written in lowercase when JavaScript writes the Click event.

3. If you are using a computer that cannot enter a character, you can use a notation provided in JavaScript, which is \u+4 a hexadecimal number.

4. Comments with//or/**/

5. Direct volume. Is the data value that is used directly in the program.

6. The identifier. This is where the programmer needs to pick up the name in the program itself.

7. Keywords. Is the word that JavaScript keeps for itself.  

In addition, each particular JavaScript runtime environment has its own unique list of global variables and functions, preferably not as its own variable name and function name.

If I enter a in VS, I'm going to show you a lot of pre-defined variables and functions.

8. Optional semicolon. Plus a semicolon. Make it easy for you to read.

JavaScript authoritative Guide chapter II-lexical structure-the Book of Reading

Related Article

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.