Home  >  Article  >  Web Front-end  >  Does javascript also belong to programming?

Does javascript also belong to programming?

藏色散人
藏色散人Original
2021-03-31 16:28:141899browse

Javascript belongs to programming. JavaScript is a scripting language. It can be run directly in the browser without compilation. It can also be run in the nodejs runtime environment. It can be used to implement rich web interfaces on the web. Used to implement complex business logic.

Does javascript also belong to programming?

The operating environment of this article: windows7 system, javascript version 1.8.5, Dell G3 computer.

Javascript is a scripting language that can be run directly in the browser without compilation or in the nodejs runtime environment. It can be used to implement rich web interfaces or complex implementations. business logic.

Javascript introduction:

JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled programming language with function priority. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is a dynamic scripting language based on prototype programming, multi-paradigm, and supports object-oriented, imperative and declarative (such as functional programming) style.

JavaScript was first designed and implemented on the Netscape Navigator browser in 1995 by Brendan Eich of Netscape. Because Netscape was working with Sun, Netscape management wanted it to look like Java, hence the name JavaScript. But in fact its grammatical style is closer to Self and Scheme.

The standard for JavaScript is ECMAScript. As of 2012, all browsers fully support ECMAScript 5.1, and older browsers support at least the ECMAScript 3 standard. On June 17, 2015, ECMA International released the sixth edition of ECMAScript, which is officially called ECMAScript 2015, but is usually called ECMAScript 6 or ES2015.

Main functions:

1. Embed dynamic text in HTML pages.

2. Respond to browser events.

3. Read and write HTML elements.

4. Validate data before it is submitted to the server.

5. Detect the visitor’s browser information. Control cookies, including creation and modification.

6. Server-side programming based on Node.js technology.

[Recommended learning: js basic tutorial]

The above is the detailed content of Does javascript also belong to programming?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn