JavaScript is a script language, a dynamically typed, weakly typed and prototype-based language with built-in support types. JavaScript has been widely used in Web application development, and is often used to add various dynamic functions to web pages to provide users with smoother and more beautiful browsing effects. Usually JavaScript scripts are embedded in HTML to realize their own functions. It is the most popular scripting language in the world. Web pages browsed on computers, mobile phones and tablets, as well as mobile apps based on HTML5, are all driven by JavaScript.
Extended data:
Main features of javascript scripting language:
1, explanation: javascript is an interpretation language, which directly interprets the source code when running on a browser without compiling.
2. Object-based: javascript is an object-based language, which can use its own created objects, and many functions can come from the interaction between object methods and scripts in the scripting environment.
3. Event-driven: JavaScript can directly respond to users' or customers' input without going through a web service program. His response to users is event-driven. The so-called event-driven, refers to the action generated by performing an operation on the home page, called "event".
4. Cross-platform: JavaScript depends on the browser itself and has nothing to do with the running environment. As long as the computer can run a browser and the browser supports JavaScript, it can be executed correctly.
5. Security: JavaScript is a security language. Access to the local disk is not allowed, and data cannot be stored on the server; It is not allowed to modify or delete the network text, and only information browsing or dynamic interaction can be realized through the browser. Can effectively prevent data loss.
References:
Baidu encyclopedia -JavaScript