Home > Article > Web Front-end > What file format is javascript?
Javascript is a file in ".js" format. JS is a literal scripting language. It is a dynamically typed, weakly typed, prototype-based language with built-in support for types. JavaScript has been widely used in web application development, and is often used to add a variety of dynamic functions to web pages to provide users with smoother and more beautiful browsing effects.
The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.
.js file is the extension of JavaScript language file.
JavaScript is a literal scripting language. It is a dynamically typed, weakly typed, prototype-based language with built-in support for types. JavaScript has been widely used in web application development, and is often used to add a variety of dynamic functions to web pages to provide users with smoother and more beautiful browsing effects. Usually JavaScript scripts realize their functions by embedding them in HTML. It is the most popular scripting language in the world. The interactive logic of web pages browsed on computers, mobile phones, and tablets, as well as mobile apps based on HTML5, are all driven by JavaScript.
Extended information:
The main features of javascript script language:
1. Interpretability: javascript is An interpreted language in which the source code does not need to be compiled and is interpreted directly when running on the browser.
2. Object-based: JavaScript is an object-based language that can use objects it has created. Many functions can come from the interaction between object methods and scripts in the script environment.
3. Event-driven: JavaScript can respond directly to user or customer input without going through the web service program. His response to the user is carried out in an event-driven manner. The so-called event-driven refers to the action generated by performing a certain operation on the homepage. This action is called an "event".
4. Cross-platform: JavaScript depends on the browser itself and has nothing to do with the operating environment. As long as the computer can run the browser and the browser supports JavaScript, it can execute correctly.
5. Security: JavaScript is a security language. It does not allow access to the local disk, and cannot store data on the server; it does not allow modification and deletion of network text, and can only achieve information browsing or dynamic interaction through the browser. Can effectively prevent data loss.
[Recommended learning: javascript advanced tutorial]
The above is the detailed content of What file format is javascript?. For more information, please follow other related articles on the PHP Chinese website!