Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Which standard is javascript based on?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Today, I would like to share with you the relevant knowledge of which standard javascript is based on. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

Javascript is based on the ECMAScript standard. ECMAScript is a standard scripting language specification, which defines the syntax, types, statements, keywords, reserved words, operators, objects and other parts of the JavaScript language; it is the core of JavaScript.

The operating environment of this tutorial: windows7 system, javascript1.8.5 version, Dell G3 computer.

JavaScript, originally known as LiveScript, was developed by Brandon Brendan Eich of Netscape (Netscape Communications Corporation) in 1995. Netscape changed its name to JavaScript after a partnership with Sun, an Internet company whose full name is "Sun Microsystems", which has been acquired by Oracle.

The reason for renaming LiveScript to JavaScript is that JavaScript is inspired by Java, so they have a lot of grammatical similarities, and many naming conventions in JavaScript are borrowed from Java, and another reason is the popularity of Java for marketing.

At the same time, Microsoft and Nombas (a company called Nombas) also developed two scripting languages, JScript and ScriptEase, respectively, which formed a tripod with JavaScript. There is no unified standard between them, and they cannot be used with each other. In order to solve this problem, in 1997, under the coordination of ECMA (European Association of computer Manufacturers), Netscape, Sun, Microsoft and Borland (a software company) formed a working group and formulated the ECMA-262 standard (ECMAScript) based on JavaScript.

A complete JavaScript consists of the following three parts:

ECMAScript: provides the syntax and basic objects of the language

Document object Model (DOM): provides methods and interfaces for dealing with web content

Browser object Model (BOM): provides methods and interfaces for interacting with browsers.

ECMAScript is the core of JavaScript, describing the basic syntax of the language (var, for, if, array, etc.) and data types (numbers, strings, Boolean, functions, objects (obj, [], {}), null, undefined). ECMAScript is a set of standards that define what a language (such as JS) looks like.

ECMAScript is defined by ECMA-262. ECMAScript is an internationally recognized standard scripting language specification that has no dependency on Web browsers. The ECMA-262 standard mainly stipulates that the language consists of the following components:

Grammar

Variables and data types

Keywords and reserved words

Operator

Control statement

Object

Introduction to the ECMAScript version:

ECMAScript 5 (ES5): the fifth edition of ECMAScript was revised and standardized in 2009. This specification is quite fully implemented in all modern browsers.

ECMAScript 6 (ES6) / ECMAScript 2015 (ES2015): revision of the sixth edition of ECMAScript, standardization completed in 2015. This standard is partially implemented in most modern browsers. You can check out this compatibility table to see the implementation of different browsers and tools.

ECMAScript 2016: the expected seventh version of ECMAScript revision, scheduled for release next summer. The exact features that will be included in this specification have not been finalized.

ECMAScript Proposals: feature and grammar proposals to be considered for future versions of the ECMAScript standard, which need to go through five stages: Strawman (scarecrow), Proposal (proposal), Draft (draft), Candidate (candidate), and Finished (completion).

These are all the contents of this article "which Standard is javascript based on?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report