JavaScript and ES6

JavaScript and ES6

JavaScript is a weakly typed script language used to dynamically render HTML. Composed of three parts: core (ESMAScript), Document Object Model (DOM) and Browser Object Model (BOM)
ES6 is the sixth version (ES6), which is the next generation standard of the JavaScript language

ECMAScript is the international standard for the JavaScript language, and JavaScript is the implementation of ECMAScript. So ES6 is an implementation standard for JavaScript.

summarize

Java and JavaScript have nothing to do with each other. It’s just that Java was very popular at the time. In order to gain popularity, LiveScript was renamed JavaScript. Their relationship is like the relationship between Lei Feng and Leifeng Pagoda. It has nothing to do with it.
https://blog.csdn.net/qq_38490457/article/details/109257751
Insert image description here

1. Variables

  

2. Arrow function

  

3. Destructuring assignment

  

4. Array operations

  

5. String operations

  

6. Object-oriented

  

Guess you like

Origin blog.csdn.net/Peanut31434331/article/details/124990814