17:56:11 2019-08-09
As seen in the title or entry
This article Source: https://www.imooc.com/code/48
What JavaScript can do?
1. Enhance the page dynamic effects (such as: drop-down menu, image carousel, scrolling information and so on)
2. The real-time, dynamic interaction between the page and the user (such as: user registration, login authentication, etc.)
Further understanding of JS variables, arrays, functions, syntax, objects, events, DOM operation, making simple web pages dynamic effects.
Variables: mainstream programming languages and almost
Reserved words (reserved word), refers to the high-level languages already defined word, the user can not then these words as a variable or procedure name to use.
Reserved words include keywords and reserved words are not used. Keyword refers to have a special meaning in the language, those words become a part of the grammar. In some languages, some of the reserved words may not be applied to the current syntax, which became a reserved word keyword difference. Generally this situation may be due to consider scalability. (It is not for portability?)
Variable declaration syntax:
var variable name; (tag can also be stated directly, but in order to standardize, need to declare, after use.)
++ --