1.1 ES6 Tutorial
Category ES6 Tutorial
Introduction
ES6, full name ECMAScript 6.0, is the next version standard of JavaScript, released in June 2015.
ES6 is mainly designed to address the inherent shortcomings of ES5, such as the lack of a class concept in JavaScript. However, the JavaScript currently used in browsers is version ES5, and most high-version browsers also support ES6, but only implement some features and functions of ES6.
You can also first watch ** to quickly understand.
Background of ECMAScript
JavaScript is the name of the language that everyone knows, but this language name is a trademark (a trademark registered by Oracle Corporation). Therefore, the official name of JavaScript is ECMAScript. In November 1996, the creator of JavaScript, Netscape, submitted JS to the international standard organization ECMA (European Computer Manufacturers Association), hoping that this language could become an international standard. Subsequently, ECMA issued a standard that specifies the browser scripting language, namely ECMAScript. This is also conducive to the openness and neutrality of this language.
The History of ECMAScript
ES6 is the most significant change in the ECMAScript standard in more than ten years, adding many new syntactic features.
In 1997, ECMAScript 1.0 was born.
In June 1998, ECMAScript 2.0 was born, containing some minor changes to synchronize with the independent ISO international standard.
In December 1999, ECMAScript 3.0 was born, which was a huge success and widely supported in the industry. It laid the basic syntax of JS and was completely inherited by subsequent versions. Until today, when we start learning JS, we are actually learning the syntax of version 3.0.
ECMAScript 4.0 in 2000 is the predecessor of the current ES6, but because this version is too radical and completely upgraded ES 3, it was temporarily "harmonized."
In December 2009, ECMAScript 5.0 was officially released. The ECMA expert group expected the fifth version of ECMAScript to be the mainstream development standard from mid-2013 to 2018. In June 2011, the ES 5.1 version was released and became an ISO international standard.
In 2013, the ES6 draft was frozen, no new features were added, and new features were put into ES7; in June 2015, ES6 was officially passed and became an international standard.
The Goals and Vision of ES6
The goal of becoming a better language for writing development is as follows.
Adapt to more complex applications; achieve sharing between code libraries; continuously iterate and maintain new versions.
The content of this tutorial
**Click here to share my notes
-
-
-
- 1.1 ES6 Tutorial
-1.2 Setting up the ES6 Environment
-2.2 ES6 Destructuring Assignment