Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is a Javascript script?
What is a Javascript script?
Javascript is generally used on the client side and is very important in DHTML (Dynamic HTML). It is used to manipulate DOM (Document Object Model) to control the elements of the page to achieve certain results. Especially after the rise of AJAX, javascript has been paid more attention. Javascript is a weakly typed language, which is different from C++ java, and its object-oriented mechanism is based on prototype objects, which is quite different from C++Java.

However, javascript is by no means a language that can only run on the client. In fact, it can be executed on netscape server. As long as you get a javascript interpreter (IE or Netscape seems to have opened it up and can get it online), you can even use javascript programming in your application. Javascript is much more powerful than current client applications. I suggest you read the JavaScript authoritative guide.

In addition, javascript, like java, C#, php and many other languages on the market, is a C-like language, so if there is a foundation of C language, there is no big problem in grammar, and then it is mainly necessary to understand the data type of javascript, for example, it only has a 64-bit real number type, and there is no traditional shaping (it is only treated as a 32-bit integer when shifting this operation); Then its object-oriented mechanism, which is a difficult point, is very different from the traditional object-oriented language; There are also logical operators, because its weak type determines the particularity of its logical operators.