Home >Web Front-end >JS Tutorial >Introduction to JavaScript ES6

Introduction to JavaScript ES6

藏色散人
藏色散人forward
2019-05-08 09:37:354195browse

ES6, the full name is ECMAScript 6.0, is the next version standard of JavaScript, released in 2015.06.

ES6 is mainly to solve the inherent shortcomings of ES5. For example, there is no concept of class in JavaScript, but the current browser JavaScript is the ES5 version. Most higher version browsers also support ES6, but only ES6 is implemented. Some features and functions.

Background of ECMAScript

JavaScript is the language name that everyone knows, but this language name is a trademark (a registered trademark of Oracle Corporation). Therefore, the official name of JavaScript is ECMAScript. In November 1996, Netscape, the creator of JavaScript, submitted JS to the international standards organization ECMA (European computer manufacturers association), hoping that this language could become an international standard. Subsequently, ECMA issued regulations for browsers. The standard for scripting languages, namely ECMAScript. This also contributes to the openness and neutrality of the language.

History of ECMAScript

ES6 is the most changed version of the ECMAScript standard in more than ten years, adding many new syntax features.

ECMAScript 1.0 was born in 1997.

ECMAScript 2.0 was born in June 1998, containing some minor changes to synchronize the independent ISO international standard.

ECMAScript 3.0 was born in December 1999. It was a huge success and received widespread support in the industry. It laid the basic syntax of JS and was completely inherited by subsequent versions. To this day, when we start learning JS, we are actually learning version 3.0 of syntax.

ECMAScript 4.0 in 2000 is the predecessor of the current ES6. However, because this version was too drastic and a complete upgrade to ES 3, it was temporarily "harmonized".

In December 2009, ECMAScript version 5.0 was officially released. The ECMA Expert Group expects the fifth version of ECMAScript to become a mainstream development standard between mid-2013 and 2018. In June 2011, ES version 5.1 was released and became an ISO international standard.

In 2013, the ES6 draft was frozen and no new features would be added. New features will be put into ES7; in June 2015, ES6 was officially adopted and became an international standard.

Overview of new content in ES6

5cd7c85ace8b79b7b98af602407eccf9b1691957 (1).jpeg

The above is the detailed content of Introduction to JavaScript ES6. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:aliyun.com. If there is any infringement, please contact admin@php.cn delete
Previous article:How to use jqueryNext article:How to use jquery