c++ - What is the relationship between browser, v8 engine, JavaScript, and ECMAScript?
淡淡烟草味
淡淡烟草味 2017-06-20 10:06:31
0
2
1009

This problem has troubled me for a long time. I have read a lot of relevant information, but I still can't figure out the relationship between them.
JavaScript consists of three parts: ECMAScript, dom, and bom. The browser is an environment for running scripts.
Question 1: When saying that JavaScript does not support es6, does it mean that it does not implement the methods specified by es6?
Question 2: Is es6 a language or just a standard?
Question 3: The browser does not support certain aspects of es6 Is it because javascript does not support es6?
Question 4: How is javascript upgraded? For example, if it implements all es6 methods, how does the browser support JavaScript?
Question 5: v8 is parsing JavaScript engine, then JavaScript does not support es6, why does chrome support es6
Please answer, there are many questions, don’t be surprised

淡淡烟草味
淡淡烟草味

reply all(2)
伊谢尔伦
  1. There is no argument that JavaScript does not support syntax standards. It should be said whether the javascript engine supports es6. For example, v8 of chrome55 supports most of the es6 syntax.

  2. ECMAScript6 is just a standard that refers to the syntax and built-in libraries that the current javascript engine can use for native js code.

  3. The browser does not support a certain method of es6 because the javascript engine has not yet implemented this method.

  4. Javascript standard upgrade depends on browser update. Once the browser updates the js engine, it will also be updated.

  5. Meet 1

巴扎黑

windows、clang、C++、C++17

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template