Home  >  Article  >  Web Front-end  >  What standards are javascript and actionscript based on?

What standards are javascript and actionscript based on?

藏色散人
藏色散人Original
2022-01-18 14:30:431665browse

Javascript and actionscript are both based on the ECMAScript standard; javascript is a lightweight, interpreted or just-in-time compiled programming language with function priority; actionscript is a completely object-oriented programming language.

What standards are javascript and actionscript based on?

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

What standards are javascript and actionscript based on?

Javascript and actionscript are both based on the ECMAScript standard

So the syntax is basically the same, but the basic library is different, and there are slight differences in syntax between different versions

javascript There are common implementations (chrome, firefox, etc. have their own parsing engine implementations) and Microsoft's Jscript implementation

actionscript has versions 1.0, 2.0, 3.0, etc., 1.0 and 2.0 are more similar to javascript

3.0 basically implements object-oriented programming, and its performance has also been improved a lot.

Introduction to JavaScript:

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 based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative, declarative, and functional programming paradigm.

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 often called ECMAScript 6 or ES2015.

Introduction to actionscript:

ActionScript (AS for short) was developed by Macromedia (now acquired by Adobe) for its Flash product. It was originally a simple script. The language has been updated to version ActionScript 3.0. It is a complete object-oriented programming language with powerful functions, rich class libraries, and syntax similar to JavaScript. It is mostly used for Flash interactivity, entertainment, and practical development, web page production, and RIA ( Rich Internet program) development.

ActionScript ActionScript is a programming language that follows the Adobe Flash Player runtime environment of ECMAscript version 4. It enables interactivity, data processing, and other functionality in Flash content and applications.

Recommended study: "js Basic Tutorial"

The above is the detailed content of What standards are javascript and actionscript based on?. 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